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

# Migrating from FlexiCapture Engine to FlexiCapture SDK

This article will help you migrate your code from ABBYY FlexiCapture Engine and want to migrate to ABBYY FlexiCapture SDK. Please back up your code and projects you used before starting upgrade.

ABBYY FlexiCapture SDK is not binary compatible with ABBYY FlexiCapture Engine, so you will need to recompile your application and most probably make some changes to your code as well.

## Product initialization

If you were using the [**IEngineLoader**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/iengineloader.md) interface to load the library in ABBYY FlexiCapture Engine, you do not need to make any changes.

However, if you were working with the obsolete **Initialize**/**InitializeEx** functions, you will have to switch to the [**GetEngineLoader**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/getengineloader.md) function as ABBYY FlexiCapture SDK does not support the obsolete initialization methods.

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

## If you worked with FlexiCapture Project

ABBYY FlexiCapture 12 SDK works with FlexiCapture projects created in of ABBYY FlexiCapture 12 SDK or ABBYY FlexiCapture.

If the project was created in a later version of ABBYY FlexiCapture 12 SDK or ABBYY FlexiCapture, you will not be able to use it in the current ABBYY FlexiCapture 12 SDK release. If the project is created in earlier versions of these products, please call the [**UpdateProject**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-updateproject.md) method of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object to update your project. After that, use FlexiCapture SDK in the same way you used FlexiCapture Engine.

## If you worked with FlexiCapture Processor

In FlexiCapture Engine, you could use FlexiCapture Processor to work with documents not belonging to any project or batch. In FlexiCapture SDK you can only work via a FlexiCapture project with a set of Document Definitions. Follow the steps below to migrate your code from FlexiCapture Engine to FlexiCapture SDK:

1. Create a new FlexiCapture project. You can do it in FlexiCapture Developer's Package or use the [**CreateProject**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-createproject.md) method of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object.
2. Open the project in FlexiCapture SDK using the [**OpenProject**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine-openproject.md) method of the [**Engine**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/engine.md) object.
3. Load the Document Definitions you have been using into the project calling the [**LoadFromFile**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinitions-loadfromfile.md) method of the [**DocumentDefinitions**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/documentdefinitions.md) object.
4. Add a new batch to the project by calling the [**AddNew**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batches-addnew.md) method of the [**Batches**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batches.md) object.
5. Add the images for processing using the [**AddImage**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch-addimage.md) method of the [**Batch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md) object.
6. Recognize the images using the [**Recognize**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project-recognize.md) method of the [**Project**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project.md) object or [**Recognize**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch-recognize.md) method of the [**Batch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md) object.
7. Process the documents of the batch as you used to work with documents in FlexiCapture Processor.
8. Run the verification process to check the recognized data: call the [**StartVerification**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project-startverification.md) method of the [**Project**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project.md) object or the [**StartVerification**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch-startverification.md) method of the [**Batch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md) object.
9. Export the results: call the [**Export**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project-export.md) method of the [**Project**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/project.md) object or the [**Export**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch-export.md) method of the [**Batch**](https://docs.abbyy.com/flexi-capture/sdk/api-reference/batch.md) object.

## See also

[Getting started with a Preconfigured ABBYY FlexiCapture Project](https://docs.abbyy.com/flexi-capture/sdk/guided-tour/tutorialproject-overview.md)
