IHostProcessControl Interface

This interface can be used to manage the process which hosts FineReader Engine. This interface can be requested from the OutprocLoader object in order to:

  • obtain the ID of the host process,
  • manage the priority of the host process (by default, it is Below Normal),
  • set the identifier of a client process.

Properties

Name Type Description
ProcessId int, read-only

Gets the ID of the process which hosts FineReader Engine. The program which uses FineReader Engine can control whether the host process is alive and can terminate the process if necessary.

Note: It is important to obtain the identifier of the process first, and only then start the work with FineReader Engine. This is due to the fact that all FineReader Engine method calls are performed sequentially, therefore, when FineReader Engine is not responding, the call to the ProcessId property will remain in the queue and will not finish too.

Methods

Name Description
SetClientProcessId Sets the ID of the client process which uses FineReader Engine. The host process can control whether its client process is alive, and if it is not, can terminate.
SetPriorityClass Sets the priority class of the host process. See the description of the corresponding Windows API function for details.

See also

OutprocLoader

Different Ways to Load Engine Object

Using ABBYY FineReader Engine in Multi-Threaded Server Applications

03.07.2024 8:50:43

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.