OutprocLoader Object

This object implements the IEngineLoader which provides methods for loading and unloading the Engine object. This object allows you to load ABBYY FineReader Engine as an out-of-process server into a separate process.

If this loading method is used, all ABBYY FineReader Engine are completely thread-safe. Each FineReader Engine instance runs in a separate process simultaneously with other instances. This allows you to create a pool of processors and make full use of the available CPU power. For this reason, using the OutprocLoader object is particularly suitable for server applications.

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>"
    
  • Account permissions can be set up using the DCOM Config utility (either type DCOMCNFG in the command line, or select Control Panel > Administrative Tools > Component Services). In the console tree, locate the Component Services > Computers > My Computer > DCOM Config folder, right-click ABBYY FineReader Engine 12.2 Loader (Local Server), and click Properties. A dialog box will open. Click the Security tab. Under Launch Permissions, click Customize, and then click Edit to specify the accounts that can launch the application.

    Note that on a 64-bit operating system the registered DCOM-application is available in the 32-bit MMC console, which can be run using the following command line:

    "mmc comexp.msc /32"
    
  • We recommend that you use a Network license both for debugging your server application and for running it.

For more information, see Different Ways to Load the Engine Object.

This object supports the IHostProcessControl interface. This means that you can manage the process which hosts FineReader Engine.

Samples

C# code

This object is also used in the EnginesPool code sample. It provides an implementation of a pool of FineReader Engines, which can be easily adapted for use in your own multithreaded application.

See also

IEngineLoader

Different Ways to Load the Engine Object

Using ABBYY FineReader Engine in Multi-Threaded Server Applications

Parallel Processing with ABBYY FineReader Engine

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.