Commit Graph

455 Commits

Author SHA1 Message Date
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
b2fe1c1bcd Added image saving and time log to console tester. 2025-02-11 16:55:05 -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
ba76de99c6
Merge pull request #44 from soukoku/internal-thread-test
Integrated message thread inside TwainAppSession
2023-04-15 06:34:21 -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
ef881784a6
Merge pull request #43 from soukoku/internal-thread-test
Added a msg loop thread option for windows.
2023-04-14 07:18:28 -04:00
Eugene Wang
0e5aef00e5 Changed ManualResetEventSlim to TaskCompletionSource in pump thread attach. 2023-04-14 07:13:07 -04:00
Eugene Wang
54d73eb42c Added old console sample to test diy message pump. 2023-04-13 22:52:04 -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
f58bf3c620
Merge pull request #40 from soukoku/v4-support-bg-handling
Some more unverified tw_info reads ideas.
2023-04-10 22:21:24 -04:00
Eugene Wang
2fd5f056e3 Some more unverified tw_info reads ideas. 2023-04-10 22:17:17 -04:00
Eugene Wang
d4238f56fb
Merge pull request #39 from soukoku/v4-support-bg-handling
Added possibility to handle transferred data by app in another thread…
2023-04-10 20:44:16 -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
88458c0d7d
Fixed broken link and typo. 2023-04-10 18:45:09 -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
dcc2c8b862 Add show UI checkbox to sample. 2023-04-09 18:03:42 -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
6fad6af280 Updated readme. 2023-04-08 19:34:57 -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
Eugene Wang
9486fc8cce Used mapping to get cap current/default values with names! 2023-04-08 15:35:08 -04:00