From 16af0bbee1945dc2ab7eb98b8027a704e6319d8d Mon Sep 17 00:00:00 2001 From: gb <741021719@qq.com> Date: Fri, 2 Jun 2023 10:54:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8A=A0=E8=BD=BDtwainui?= =?UTF-8?q?=E7=9A=84BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sane/scanner.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {