Commit Graph

243 Commits

Author SHA1 Message Date
Eugene Wang
da76306bcf Version bump to alpha.14. 2025-11-12 07:20:30 -05:00
Eugene Wang
87257c6140 Change min framework version. 2025-11-12 07:06:25 -05:00
Eugene Wang
ca17510f18 Use generic Marshal.SizeOf. 2025-11-12 01:38:30 -05:00
Eugene Wang
8afc52c82b Added typed compression property get. 2025-11-12 01:30:36 -05:00
Eugene Wang
5c8f1f2df6 Disable warnings. 2025-11-12 01:17:18 -05:00
Eugene Wang
61b7ef8c00 Experiment with generated win32 types and calls. 2025-11-12 01:09:07 -05:00
Eugene Wang
0780b950e2 Version bump to alpha.13 and vc proj tool version update. 2025-09-18 05:47:19 -04:00
Steffen S. Hellestøl
44e0c7ab07 Fixed problem with calls to TwainAppSession.CloseDSMAsync() never returning. 2025-07-07 00:20:24 +02:00
Eugene Wang
83ab3d5f0a Remove net6 build. 2025-06-24 21:33:53 -04:00
Eugene Wang
81c8544691 Fix customdsdata property always returning null. 2025-04-24 14:15:47 -04:00
Eugene Wang
439af52300 Try to fix range value reader. 2025-03-09 18:52:44 -04:00
Eugene Wang
22fd782d27 A few more kds caps. 2025-03-09 13:53:19 -04:00
Eugene Wang
07cd106ff0 Added some kds custom caps. 2025-03-09 13:19:11 -04:00
Eugene Wang
d71448bdbb Add placeholder for KDS caps. 2025-03-09 12:36:15 -04:00
Eugene Wang
0860e6534b Tried to add KDS custom structs. 2025-03-09 10:10:29 -04:00
Eugene Wang
c8ee66a828 Try to put KDS values in own namespace and enum. 2025-03-09 08:55:45 -04:00
Eugene Wang
5c15ec3711 Check for empty path in TryLoadCustomDSM. 2025-03-05 08:54:45 -05:00
Eugene Wang
6b35b1735d Timing hack for file transfer. 2025-02-19 06:47:37 -05:00
Eugene Wang
69d90aa945 Test kodak SDMI. 2025-02-18 17:04:38 -05:00
Eugene Wang
62eaa6083a Some kodak values for use with its SDMI flow. 2025-02-18 15:24:55 -05:00
Eugene Wang
e3dfa8f4dd Add method to set filexfer options on xferready event. 2025-02-15 18:39:13 -05:00
Eugene Wang
f205d73f64 Add xfermech info to transfer ready event. 2025-02-11 16:40:05 -05:00
Eugene Wang
e107a927b3 Add dotnet 9 target. 2025-02-11 16:39:02 -05:00
Eugene Wang
5ec2118ef2 change dontcare pendingxfers to static method. 2024-10-10 23:18:43 -04:00
Eugene Wang
de017f3439 Expose wndproc hook method and test reset TW_PENDINGXFERS before use. 2024-10-10 11:06:27 -04:00
Eugene Wang
cea9a990b9 Lib version bumps and change net7 to net8. 2024-07-12 08:19:55 -04:00
Eugene Wang
474b066bd0 Added parameterless ctor for TwainAppSession. 2023-04-28 08:53:51 -04:00
Eugene Wang
f25587cab2 Reduced ctors for TwainAppSession. 2023-04-28 08:15:53 -04:00
Eugene Wang
d68e9800ba Version bump to alpha.3 2023-04-15 07:19:44 -04:00
Eugene Wang
1364150697 Integrated message thread inside TwainAppSession as a different OpenDSM method. 2023-04-15 06:33:12 -04:00
Eugene Wang
0e5aef00e5 Changed ManualResetEventSlim to TaskCompletionSource in pump thread attach. 2023-04-14 07:13:07 -04:00
Eugene Wang
502013ee57 Experiment with a winform-based msg pump. 2023-04-13 22:19:05 -04:00
Eugene Wang
24d4471e0f Merge pull request #42 from soukoku/known-caps-test
Bring back cap wrapper idea from previous versions
2023-04-12 21:45:49 -04:00
Eugene Wang
6e26b7a009 Tried to make a cap wrapper property on spec-defined caps. 2023-04-12 21:42:30 -04:00
Eugene Wang
232aa93e6e Add reset on cancel so sample ds works. 2023-04-12 18:57:15 -04:00
Eugene Wang
1873ad31a0 Trying to resurrect my old cap wrapper. 2023-04-12 08:50:18 -04:00
Eugene Wang
4d8da799c0 Some more QoL and sample process options. 2023-04-11 08:21:49 -04:00
Eugene Wang
2fd5f056e3 Some more unverified tw_info reads ideas. 2023-04-10 22:17:17 -04:00
Eugene Wang
fa88dd4d1f Added possibility to handle transferred data by app in another thread for high-speed scanner use. 2023-04-10 20:42:41 -04:00
Eugene Wang
b89c186987 Some quality of life improvements. 2023-04-10 19:47:01 -04:00
Eugene Wang
9cd20f3e62 Changed to use SynchronizationContext instead of the DIY threadmarshaller. 2023-04-10 08:02:38 -04:00
Eugene Wang
4b337f036e Experiment with only transferring data in background thread to work with bad sources. 2023-04-09 23:30:06 -04:00
Eugene Wang
902cf844df Merge pull request #38 from soukoku/v4-libraryimport
Added net7 targets and uses LibraryImport on them for pinvokes.
2023-04-09 22:39:37 -04:00
Eugene Wang
3d82558af6 Some fixes for bad sources. 2023-04-09 22:35:15 -04:00
Eugene Wang
3424a580fe Added net7 targets and uses LibraryImport on them for pinvokes. 2023-04-09 21:16:30 -04:00
Eugene Wang
64268b3a27 alpha2 version bump. 2023-04-09 18:03:57 -04:00
Eugene Wang
fe89e661fc V4 add extimginfo (#37)
* Added my old struct size tester cpp proj.
* Added transfercanceled event like PR #35.
* Renamed datatransferred event.
* Idea for getting EXT_IMAGEINFO in transferred event.
* Renamed twain const and platform classes to shorter name.
* First attempt at reading TW_INFO, probably not correct.
2023-04-09 17:52:23 -04:00
Eugene Wang
a0da65dcca Delete old files. 2023-04-08 19:46:54 -04:00
Eugene Wang
2474fbf74d Fixed wrong assumption of rented array size and added example of using non system.drawing image lib. 2023-04-08 18:38:51 -04:00
Eugene Wang
29a8031817 Missed customdsdata map. 2023-04-08 15:37:50 -04:00