Purepage - the best way to share information online

Contact   ::  Privacy policy   ::  About us

Products menu Download menu Support menu Buy menu

 Purepage Server

 Purepage SDK

 Purepage for Documentum

 Purepage Server

 Purepage SDK

 Home

 Frequently Asked Questions

 Online Documentation

 Purepage Server Pricing

 Purepage SDK Pricing

 OEM Information

 

See how it works

Supported Formats

Q & A

System Requirements

Download & Try

Licensing & Pricing

OEM Licensing

Buy Online

Purepage SDK
MFC Visual C++ Wrapper & Sample

Written in Visual C++ for use with Microsoft Foundation Classes (MFC).

Download the MFC wrapper
Download the MFC sample application

This example demonstrates how to convert a sample document using Purepage SDK and Microsoft Visual C++ with MFC.  You can use this example as a base to build your own code around. This sample can be found in the MFC sub-folder when you download the trial version of Purepage SDK.

Main points of interest include:

  • C++ use of Purepage SDK via a simple MFC class.
  • Takes you through the process of converting a printed job into HTML.
  • Simple use of the Purepage COM objects methods.

NOTE: The MFC wrapper class was generated automatically using the Visual C++ Class Wizard. To create your own wrapper, simply create a new MFC based project, Open the Class Wizard and import a new class from a Type Library. When asked to select a Type Library select the PurePage.exe file from the Windows system folder.  Visual C++ will automatically create the wrapper class for you.

To use the MFC wrapper in your MFC application:

  1. Create a new MFC based application using Visual C++ (5.0 or later).
  2. Unzip the files from MFCWrapper.zip into the same folder as your newly created MFC application.
  3. Add “purepage.h” to the includes of your cpp files.
  4. Add “purepage.cpp” to the project.
  5. Add code to use the Purepage wrapper class (see MFCClientApp.zip for a simple example).  IMPORTANT: make sure you add OleInitialize(NULL) to your code before using Purepage.
     

<< Previous Example   Return to Samples page

 

 See how it works...

 Scripting Examples

 HTML Rendition Samples

 Supported Document Formats

 

 

Download and try the 15-day trial.

© 2001 - 2003 Inzone Software Limited. All Rights Reserved.

Contact : Privacy Policy : About Us