> ## 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.

# IEngineLoader Interface

A pointer to the object implementing this interface is returned by the [**GetEngineLoader**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/getengineloader.md) function. Use it to load and unload the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object. The properties described below provide easy access to online licensing if needed and also allow you to specify some additional parameters of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object. One of the properties is the Customer Project ID number, which is an alphanumeric string common to all the Developer and Runtime licenses your project uses.

> [!NOTE]
>
> During library initialization the list of all available licenses is searched for a Developer or Runtime License corresponding to this Customer Project ID. If no corresponding license is found, an error for the last checked license will occur. However, you may pass 0 for this parameter and select the license later, by calling the [**IEngine::SetCurrentLicense**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-setcurrentlicense.md) method before any other library methods.

This interface is also available in the [**InprocLoader**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/inprocloader.md) and [**OutprocLoader**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/outprocloader.md) objects, which allow you to load ABBYY FlexiCapture SDK by means of COM either as an in-process server into the current process or as an out-of-process server into a separate process. For more information, please refer to the [Different Ways to Load the Engine Object](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/differentwaystoloadengine.md) section.

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.

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **AppDataPath** | [**String**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | Contains the path to the folder in which ABBYY FlexiCapture SDK should store temporary data. The default value of this property is empty string. In this case, **%AppData%\ABBYY FlexiCapture 12 SDK** folder is used for temporary files. |
| **CustomerProjectId** | [**String**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | A string containing the *Customer Project ID*. |
| **LicensePassword** | [**String**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | The online license password. If you do not use an online license, set this property to an empty string "" or NULL. |
| **LicensePath** | [**String**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/propertiestypes.md) | The path to the online license file. If you do not use an online license, set this property to an empty string "" or NULL. |
| **NullObject** | **IUnknown\***, read-only | This property returns a reference to a NULL object. This can be useful in scripting languages, in which NULL is not an object, when there is a need to pass NULL into a method requiring an object to ensure default behavior. |

## Methods

| **Name** | **Description** |
| - | - |
| [**GetEngine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iengineloader-getengine.md) | Loads an instance of ABBYY FlexiCapture SDK. |
| [**Unload**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iengineloader-unload.md) | Unloads ABBYY FlexiCapture SDK. |

## Samples

This object is used in all [code samples](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/samples.md).

## See also

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

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

[Different Ways to Load 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)
