Loading the LZNV DLL
4.1 Using the LZNV DLL
4.1 Using the LZNV DLL
The code is available in function _loadDLL from LZNV_DLL_Tester.cpp
#include <LZNV_Defines.h> // load header file from predefined include paths
int32_t _loadDLL()
{
LZNV_DLL_handle = LoadLibrary(LZNV_DLL_Name);
if (LZNV_DLL_handle == NULL)
{
wprintf(L"\n\n ERROR While Loading Encode DLL %s. Error: %s\n", LZNV_DLL_Name, _getLastErrorString());
return _LZNV_ERROR_DLL_NOT_FOUND;
}
// ...
return 0;
}