解决twain_user加载64位twain的问题
This commit is contained in:
parent
514a9a176f
commit
fc8994c343
|
@ -41,7 +41,11 @@ HGResult HGTwainDSMImpl::Create(HWND hwnd)
|
|||
}
|
||||
|
||||
assert(NULL == m_hDll);
|
||||
#ifdef _WIN64
|
||||
HGBase_CreateDll("TWAINDSM.dll", &m_hDll);
|
||||
#else
|
||||
HGBase_CreateDll("twain_32.dll", &m_hDll);
|
||||
#endif
|
||||
if (NULL == m_hDll)
|
||||
{
|
||||
return HGBASE_ERR_FAIL;
|
||||
|
|
Loading…
Reference in New Issue