HOCR_SDK_CPU_CreateArgoSDK
Included header
#include <HOCR_SDK_CPU.h>
Description
API that creates an 'ArgoEngineApi' object with required information. Initialization is not performed here; use one of the following APIs to initialize:
The created object is passed as a handle when calling each API, and after all usage it must be released with the API below.
HOCR_SDK_CPU_CreateArgoSDK()
|
- Parameters
-
Name Type Description licensePath char* Runtime license file path
engineLibDirPath char* Path to the engine module libraries
logFilePath char* Directory path to create log files (the path must exist)
- Return value
void*: 'ArgoEngineApi' object
Examples
std::string runtimeLicensePath = "../bin64/Hancom.trial.license";
std::string engineLibPath = "../bin64/libs/CPU/modulelibs";
std::string logFilePath = "./logs";
void* obj = nullptr;
obj = HOCR_SDK_CPU_CreateArgoSDK(
runtimeLicensePath.data(),
engineLibPath.data(),
logFilePath.data()
);