> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# OutprocLoader Object

This object implements the [**IEngineLoader**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iengineloader.md) which provides methods for loading and unloading the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object. This object allows you to load ABBYY FlexiCapture SDK as an out-of-process server into a separate 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 are completely thread-safe. Each ABBYY FlexiCapture SDK 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.

> [!WARNING]
>
> * This loading method requires registration of FCEngine.dll when installing the application on an end user's computer. To register FCEngine.dll when installing your application on an end-user computer, use the following command line:
>
>   ```bat theme={null}
>   regsvr32 /s /n /i:"<path to the Inc folder>" "<path to FCEngine.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 FlexiCapture 12 SDK 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](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/differentwaystoloadengine.md).

This object supports the [**IWorkProcessControl**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iworkprocesscontrol.md) interface. This means that the work process can control whether its parent process is alive and terminate if it is not.

## Samples

> [accordion] C# code
>
> ```csharp theme={null}
> IEngineLoader engineLoader = new FCEngine.OutprocLoader();
> IEngine engine = engineLoader.Load(…);
> try {
>  …
> } finally {
>  engineLoader.Unload();
> }
> ```

## See also

[**IEngineLoader**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iengineloader.md)

[Different Ways to Load the Engine Object](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/differentwaystoloadengine.md)

[Using ABBYY FlexiCapture SDK in Multi-Threaded Server Applications](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/usinginserverapplications.md)
