This commit is contained in:
13038267101 2022-11-17 08:46:41 +08:00
parent 41c73125d0
commit 160c210bfd
1 changed files with 2 additions and 3 deletions

View File

@ -396,9 +396,8 @@ namespace hg_imgproc
HGBase_FreeImg = (SDKHGBase_FreeImage_)dlsym(Dynamicopen_HGBase_pHandle_,"HGBase_DestroyImage");
#else
#define SCAN "scanner.dll"
string scanner_path = hg_log::get_module_full_path(SCAN);
scanner_path = scanner_path.substr(0, scanner_path.size() - strlen(SCAN));
string scanner_path = hg_log::get_module_full_path("scanner.dll");
scanner_path = scanner_path.substr(0, scanner_path.size() - strlen("scanner.dll"));
string HGImagePrclib_path = scanner_path + IMGPRC_LIBNANE;
string HGBaselib_path = scanner_path + HGBASE_LIBNAME;