Open mstoicescu opened 4 years ago
"UnsafeNativeMethods.cs"
[DllImport("kernel32")] modify [DllImport("kernel32", EntryPoint = "***", ExactSpelling = true)]
"Dsm.WinOld.cs" and "Dsm.WinNew.cs" [DllImport(WIN_NEW_DSM_NAME, EntryPoint = DSM_ENTRY)] modify [SuppressMessage("Microsoft.Interoperability", "CA1400:PInvokeEntryPointsShouldExist")] [DllImport(WIN_NEW_DSM_NAME, EntryPoint = DSM_ENTRY, CharSet = CharSet.Ansi)]
Fail on: CANON ELECTRONICS INC. DR-G2000 Driver (1.1) Protocol TWAIN 2.3
Just OK on: CANON ELECTRONICS INC. Canon DR-C130 Driver (1.123) Protocol TWAIN 2.0