RecAPI
|
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. |
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:
RecPDF_MS.LIB
- multi-threaded C run-time library - statically linked,RecPDF_MDyn.LIB
- multi-threaded C run-time library - dynamically linked.The debug version of the integrating application requires a static library to be linked as follows:
RecPDF_MSd.LIB
- multi-threaded C run-time library - statically linked,RecPDF_MDynd.LIB
- multi-threaded C run-time library - dynamically linked.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).
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.
[in] | pRecPath | Full path to the Engine Binary directory, i.e. where the Engine files are located. |
RECERR |
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.
RECERR |