[PATCH] twain_32: Fix crash by call TWAIN_UserSelect twice.
1 Jun
1 Jun
2:27 p.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;
2:37 p.m.
On 6/1/21 10:27 PM, Jactry Zeng wrote:
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. Sorry, please ignore this comment. And I think attaching some tests to verify it won't hurt.
1657
Age (days ago)
1657
Last active (days ago)
2 comments
2 participants
participants (2)
-
Jactry Zeng -
Jiajin Cui