调整twainui的windows父窗口问题
This commit is contained in:
parent
53cec011a2
commit
f8d3409ad3
|
@ -11,6 +11,11 @@ extern bool g_ownApplication;
|
|||
|
||||
int choose_scanner(const std::vector<DEVQUE> &devs)
|
||||
{
|
||||
#ifdef HG_CMP_MSC
|
||||
if (!g_ownApplication)
|
||||
g_ownApplication = QMfcApp::pluginInstance(g_hInst);
|
||||
#endif
|
||||
|
||||
Dialog_device_select dlg(devs);
|
||||
if (dlg.exec())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue