|L_OcrEngine engine;||handle to the OCR engine|
|L_TCHAR* value;||allocated string buffer to hold the engine directory path|
|L_UINT count;||number of the allocated string buffer elements|
Gets the path of the OCR engine runtime files directory.
|engine||Handle to the OCR engine.|
|value||Allocated string buffer to hold the engine directory path, you should allocate enough memory for the this buffer to be filled with the engine's directory path.|
|count||Number of the allocated string buffer elements, this should be _countof(value).|
|SUCCESS||The function was successful.|
|< 1||An error occurred. Refer to Return Codes.|
The engine directory is optionally passed as the engineDirectory parameter to the L_OcrEngine_Startup method. The is the path to the folder containing the OCR engine runtime files.
By default, during setup the LEADTOOLS OCR Module setup installs the OCR engine files to "Installation Path\Bin\Common\OcrLEADRuntime" where Installation Path is the root folder where the LEADTOOLS for C API is installed (for example, C:\LEADTOOLS 20).
If engineDirectory parameter passed to the L_OcrEngine_Startup was NULL then LEADTOOLS OCR engine will look for these extra files in the default installation folder specified above.
Required DLLs and Libraries
For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.
|Functions:||L_OcrEngineManager_CreateEngine, L_OcrEngine_Startup, L_OcrEngine_Shutdown, L_OcrEngine_Destroy, L_OcrEngine_GetEngineType, L_OcrEngine_IsStarted, L_OcrEngine_GetSettingManager, L_OcrEngine_GetLanguageManager, L_OcrEngine_GetSpellCheckManager, L_OcrEngine_GetZoneManager, L_OcrEngine_GetDocumentManager, L_OcrEngine_GetAutoRecognizeManager, L_OcrEngine_GetWorkDirectory|
|Topics:||Programming with LEADTOOLS OCR Module - LEAD Engine|
|Starting and Shutting Down the OCR Engine|
|LEADTOOLS OCR Module - LEAD Engine Settings|
For an Example, refer to L_OcrEngine_Startup