diff --git a/sane/scanner.cpp b/sane/scanner.cpp index b9947e9..093f906 100644 --- a/sane/scanner.cpp +++ b/sane/scanner.cpp @@ -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) {