mirror of
https://github.com/soukoku/ntwain.git
synced 2026-01-26 13:39:47 +08:00
Experimenting with bg thread processing.
This commit is contained in:
@@ -14,7 +14,7 @@ namespace SampleConsole
|
||||
{
|
||||
TwainPlatform.PreferLegacyDSM = true;
|
||||
|
||||
var twain = new TwainSession(Assembly.GetExecutingAssembly().Location);
|
||||
var twain = new TwainSession(new InPlaceMarshaller(), Assembly.GetExecutingAssembly().Location);
|
||||
twain.StateChanged += Twain_StateChanged;
|
||||
|
||||
var hwnd = IntPtr.Zero; // required for windows
|
||||
|
||||
Reference in New Issue
Block a user