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
Eugene Wang
7acbdb5e41
Added cap enum map idea.
2023-04-08 15:20:38 -04:00
Eugene Wang
f015e82682
Checked for rc in prepre mem xfer calls now.
2023-04-08 13:41:20 -04:00
Eugene Wang
c0eb79310f
Changed to handle end xfer code only once.
2023-04-08 12:35:42 -04:00
Eugene Wang
633e8b1236
Moved DetermineBufferSize() to TW_SETUPMEMXFER
2023-04-08 12:18:01 -04:00
Eugene Wang
830dc8cd9b
Updated mem file xfer with right buffer size and osx calls.
2023-04-08 12:07:30 -04:00
Eugene Wang
558dad90a1
Attempt on porting previous memfilexfer.
2023-04-08 11:43:54 -04:00
Eugene Wang
945a078f9a
fix moar xmldoc warning.
2023-04-08 08:30:58 -04:00
Eugene Wang
250788047c
Progress in memory xfers.
2023-04-08 08:22:58 -04:00
Eugene Wang
668066cd2b
Progress in file xfers.
2023-04-08 07:03:30 -04:00
Eugene Wang
443419ff64
Attempt on file xfer.
2023-04-07 23:07:44 -04:00
Eugene Wang
54c7fc1d50
Fixed some warnings.
2023-04-07 22:20:42 -04:00
Eugene Wang
6fff04fc65
Added optional encoding param to STR conversions.
2023-04-07 21:31:39 -04:00
Eugene Wang
0a7ff8b140
Tweak double buffer use in sample.
2023-04-07 21:20:57 -04:00
Eugene Wang
ebe277e614
Tweak native memory image getter.
2023-04-07 21:20:41 -04:00
Eugene Wang
416c3a80b0
Typos and debug msg updates.
2023-04-07 20:39:14 -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
0bef2e8374
Attempt on reading string for label/help text.
2023-04-06 08:50:03 -04:00
Eugene Wang
9145ea1851
Added a few more easy cap value read overloads.
2023-04-06 08:12:20 -04:00
Eugene Wang
f7a3cc699e
Wrap event calls in try-catch to prevent consumers from breaking flow.
2023-04-06 07:18:10 -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
5fa6edab28
Fix some build warnings.
2023-04-05 07:53:10 -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
f48c731aad
More ready event in xfer logic.
2023-04-04 22:53:05 -04:00
Eugene Wang
a2c4d5a455
Experiment with pooled xfer buffer.
2023-04-04 22:22:02 -04:00