RecAPI
RecPDFS

Dynamic linking of RecPDF. This module is supported on: Windows. More...

Functions

RECERR PDFASMAPI rPdfInitS (LPCTSTR pRecPath)
 Initialize the RecPDFS.
RECERR PDFASMAPI rPdfQuitS (void)
 Uninitialize the RecPDFS.

Detailed Description

Dynamic linking of RecPDF. This module is supported on: Windows.

There may be a general problem with DLL's that they must be located on one of some predetermined pathes. It may constrain the distribution of the integrating application. The RecPDFS module solves this problem.

RecPDFS is a wrapper on the module RecPDF, which makes possible to separate the integrating application from the files of the OmniPage CSDK 20 without putting the folder of the CSDK into the environment variable PATH. In fact, this may be one of some little static libraries. Depending on how the release version of the integrating application uses the C run-time libraries, one of the following RecPDFS static libraries should be linked to the application:

The debug version of the integrating application requires a static library to be linked as follows:

It is a thin interface layer for binding the Engine at run-time. It loads the RecPDF from a specified path and gets all the entry points of the RecPDF.DLL (rPdfInitS). Unloading also can be controlled by the integrating application (rPdfQuitS).


Function Documentation

RECERR PDFASMAPI rPdfInitS ( LPCTSTR  pRecPath)

Initialize the RecPDFS.

This function initializes the module RecPDFS, which includes the initialization of RecPDF. The rPdfInitS starts the PDF assembler SDK. All RecPDF functions must be called between an rPdfInitS and an rPdfQuitS calls.

Parameters:
[in]pRecPathFull path to the Engine Binary directory, i.e. where the Engine files are located.
Return values:
RECERR
Note:
Before rPdfInitS a kRecInitS or RecInitPlusS must be called to initialize the CSDK.
RECERR PDFASMAPI rPdfQuitS ( void  )

Uninitialize the RecPDFS.

This function closes the module RecPDFS, which includes the closing of RecPDF. The rPdfQuitS stops the PDF assembler SDK. All RecPDF functions must be called between an rPdfInitS and an rPdfQuitS calls.

Return values:
RECERR
Note:
After rPdfQuitS a kRecQuitS or RecQuitPlusS must be called to shut down the CSDK.