OCR SDK Knowledge Base

Article ID: 1112 | Category: Programming Aspects | Type: FAQ | Last Modified: 9/11/2015

The number of Engine objects

Description

How many Engine objects can exist in an application?

Solution

For single-process application
Only one Engine object may be created using GetEngineObject in a single instance of the application that uses ABBYY FineReader Engine. Repeated attempts to create the Engine object will return the same object.


For multi-process application
It is possible to create and run the Engine object on a multi-processor system, but there can be only one Engine object in each process. A second call of GetEngineObject within the same process will return the reference to the existing object. Therefore, you should create a separate Engine object for each process by calling the GetEngineObject function. For multi-processor systems, you may find useful other methods of loading the Engine object (see Help > Guided Tour > Advanced Techniques > Different Ways to Load Engine).

345 people think this is helpful.
Was this information helpful to you?