mirror of
https://github.com/soukoku/ntwain.git
synced 2025-04-05 10:50:24 +08:00
Testing a fix for hp scanjet.
This commit is contained in:
parent
717d5e2418
commit
710770f4cb
@ -276,7 +276,9 @@ namespace NTwain
|
||||
|
||||
// In any event the trick to get this thing working is to return from the callback first
|
||||
// before trying to process the msg or there will be unpredictable errors.
|
||||
_msgLoopHook?.BeginInvoke(() =>
|
||||
|
||||
// changed to sync invoke instead of begininvoke for hp scanjet, not sure if will break other scanners :(
|
||||
_msgLoopHook?.Invoke(() =>
|
||||
{
|
||||
HandleSourceMsg(msg);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user