InprocLoader Object
This object implements the IEngineLoader interface, which provides methods for loading and unloading the Engine object. This object allows you to load ABBYY FineReader Engine as an in-process server into the current process.
If this loading method is used, all ABBYY FineReader Engine objects are completely thread-safe. They can be created and used in different threads. When working with objects from the Main STA apartment, the performance of the application remains the same as when working with naked interfaces (if standard loading by means of the InitializeEngine function is used). When accessing from different threads, marshalling overhead may occur, but it is negligible in most scenarios.
Important! This loading method requires registration of FREngine.dll when installing the application on an end user's computer. To register FREngine.dll, use the following command line:
regsvr32 /s /n /i:"<path to the Inc folder>" "<path to FREngine.dll>"
For more information, see Different Ways to Load the Engine Object.
Samples
C# code
See also
17.09.2024 15:14:40