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 FlexiCapture SDK as an in-process server into the current process.
Please note that you must keep the reference to the loader object until you finish working with the Engine. You can then call the Unload method of the loader object to deinitialize the Engine, and then destroy the loader object.
If this loading method is used, all ABBYY FlexiCapture SDK 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. Accessing those objects from different threads may impair your application performance due to marshalling. However, the performance hit is negligible in most scenarios.
Important! This loading method requires registration of FCEngine.dll when installing the application on an end user's computer. To register FCEngine.dll, use the following command line:
regsvr32 /s /n /i:"<path to the Inc folder>" "<path to FCEngine.dll>"
For more information, see Different Ways to Load the Engine Object.
Samples
C# code
See also
15.08.2023 13:19:30