Commit Graph

93 Commits

Author SHA1 Message Date
Eugene Wang
bf658d142a Started experiment with unpackaged winui3 project. 2023-07-08 11:08:27 -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
1364150697 Integrated message thread inside TwainAppSession as a different OpenDSM method. 2023-04-15 06:33:12 -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
6e26b7a009 Tried to make a cap wrapper property on spec-defined caps. 2023-04-12 21:42:30 -04:00
Eugene Wang
4d8da799c0 Some more QoL and sample process options. 2023-04-11 08:21:49 -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
9cd20f3e62 Changed to use SynchronizationContext instead of the DIY threadmarshaller. 2023-04-10 08:02:38 -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
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
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
9486fc8cce Used mapping to get cap current/default values with names! 2023-04-08 15:35:08 -04:00
Eugene Wang
7acbdb5e41 Added cap enum map idea. 2023-04-08 15:20:38 -04:00
Eugene Wang
250788047c Progress in memory xfers. 2023-04-08 08:22:58 -04:00
Eugene Wang
54c7fc1d50 Fixed some warnings. 2023-04-07 22:20:42 -04:00
Eugene Wang
0a7ff8b140 Tweak double buffer use in sample. 2023-04-07 21:20:57 -04:00
Eugene Wang
c29f4944e9 Resurrected previous cap value writer from twaincs. 2023-04-07 20:11:26 -04:00
Eugene Wang
60ef4c144b Added more event debug logs in sample. 2023-04-07 08:39:08 -04:00
Eugene Wang
20df6fc74c Ported old native image xfer with shared buffer test. 2023-04-07 08:25:39 -04:00
Eugene Wang
242e3eba15 Progress on transfer logic. 2023-04-06 22:47:47 -04:00
Eugene Wang
fd44d9dddb Added attempt on cap grid listing. 2023-04-06 20:36:27 -04:00
Eugene Wang
9145ea1851 Added a few more easy cap value read overloads. 2023-04-06 08:12:20 -04:00
Eugene Wang
e4a6d8d8d3 DBG break if ever encounters drivers with cap label support. 2023-04-05 23:02:13 -04:00
Eugene Wang
13521c71d6 Update language encoding after certain calls. 2023-04-05 22:46:50 -04:00
Eugene Wang
ab2947d03b Attempt to read cap values. 2023-04-05 21:59:50 -04:00
Eugene Wang
513dc96f64 Added local 2.5 dsm to samples in case system doesn't have it. 2023-04-05 18:53:55 -04:00
Eugene Wang
9d0770a2ef Add 64bit tester and fixed version # in builds by switching to v6 sdk. 2023-04-05 07:29:06 -04:00
Eugene Wang
5678fd3e77 Renamed TwainSession to TwainAppSession. I love renaming things. 2023-04-04 07:48:07 -04:00
Eugene Wang
679a00818a Experimenting with bg thread processing. 2023-04-02 22:36:58 -04:00
Eugene Wang
84251a6a5e Added winform/wpf reg methods 2023-04-02 21:45:48 -04:00
Eugene Wang
16aaf25f10 Test winform integration. 2023-04-02 21:15:10 -04:00
Eugene Wang
890e5680be I just love reorganizing. 2023-04-02 15:32:19 -04:00
Eugene Wang
306a67f7a2 Moved triplet success logic back to twainsession to reduce dependencies and identity copying in windows. 2023-04-02 13:41:16 -04:00
Eugene Wang
9ddbe70ec7 Attempt on enable source that doesn't work yet. 2023-04-02 09:07:30 -04:00
Eugene Wang
a73b128f6b Add state info to sample window. 2023-04-01 19:57:37 -04:00
Eugene Wang
1417dbbb14 Added open/close to test form. 2023-04-01 19:38:04 -04:00
Eugene Wang
a779ee6b0e Added identity calls and other ds utilities. 2023-04-01 19:15:41 -04:00
Eugene Wang
c793ae8e57 Progress with OpenDS. 2023-04-01 16:05:44 -04:00
Eugene Wang
f63fbc8371 Add stepdown for currently supported state levels 2023-04-01 15:42:18 -04:00
Eugene Wang
5aa808024f Tried to load and use entry point for memory mgmt. 2023-04-01 14:39:21 -04:00
Eugene Wang
e68525775d Attempt to resurrect my old triplet ideas with new data types and native methods. 2023-04-01 12:57:07 -04:00
Eugene Wang
260ae9fdef Moved identities to propevents file. 2023-04-01 08:01:20 -04:00
Eugene Wang
003edcccce Testing new twain session ctor. 2023-04-01 07:26:59 -04:00
Eugene Wang
7abf933d4a Test integrating twaincs 2.5. 2022-04-24 18:08:43 -04:00
Eugene Wang
68342ec607 Fix sample not using correct scanner. 2021-04-28 07:44:34 -04:00
Eugene Wang
4d17226711 progress on transfer loop. 2021-04-28 07:19:02 -04:00