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

IEngineLoader

Different Ways to Load the Engine Object

17.09.2024 15:14:40

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.