mirror of
https://github.com/soukoku/ntwain.git
synced 2025-10-26 12:03:06 +08:00
Fixed creating/opening/closing twainsession multiple times in an app not working.
This commit is contained in:
@@ -245,7 +245,7 @@ namespace Tester.Winform
|
||||
// use this for internal msg loop
|
||||
_twain.Open();
|
||||
// use this to hook into current app loop
|
||||
//_twain.Open(new WinformMessageLoopHook(this.Handle));
|
||||
//_twain.Open(new WindowsFormsMessageLoopHook(this.Handle));
|
||||
}
|
||||
|
||||
if (_twain.State >= 3)
|
||||
|
||||
Reference in New Issue
Block a user