修复加载twainui的BUG

This commit is contained in:
gb 2023-06-02 10:54:48 +08:00
parent f55962f800
commit 16af0bbee1
1 changed files with 2 additions and 1 deletions

View File

@ -359,7 +359,8 @@ namespace callback
{
std::string root(hg_sane_middleware::sane_path());
root += "HGTwainUI.dll";
root += OEM_SHORT_NAME_E;
root += "TwainUI.dll";
hui = LoadLibraryExA(root.c_str(), NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
if (!hui)
{