1 Jun
2021
1 Jun
'21
9:27 a.m.
Hi, On 6/1/21 9:22 PM, Jiajin Cui wrote:
twain_autodetect();
+ if (!IsWindow(parent)) + parent = *(HWND*)DSM_parent; +
If this is true, you would need to remove the following check. And I think attaching some tests to verify it won't hurt.
if (!IsWindow(parent)) parent = NULL;