修复加载twainui的BUG
This commit is contained in:
parent
f55962f800
commit
16af0bbee1
|
@ -359,7 +359,8 @@ namespace callback
|
||||||
{
|
{
|
||||||
std::string root(hg_sane_middleware::sane_path());
|
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);
|
hui = LoadLibraryExA(root.c_str(), NULL, LOAD_WITH_ALTERED_SEARCH_PATH);
|
||||||
if (!hui)
|
if (!hui)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue