-
twainapp.source.2.0.8
.NET TWAIN image scanner(Abstract
In Windows imaging applications, the most used API for scanning is TWAIN www.twain.org. Unfortunately, the new .NET Framework has no built-in support for TWAIN. So we have to work with the interop methods of .NET to access this API. This article doesn t explain this interop techniques, and good knowledge of the TWAIN 1.9 specifications is assumed! The sample code included doesn t present a finished library, only some essential steps for a minimal TWAIN adaption to .NET applications.
Details
First step was to port the most important parts of TWAIN.H, these are found in TwainDefs.cs. The real logic for calling TWAIN is coded in the class Twain, in file TwainLib.cs.. As the TWAIN API is exposed by the Windows DLL, twain_32.dll, we have to use the .NET DllImport mechanism for interop with legacy code. This DLL has the central DSM_Entry(), ordinal#1 function exported as the entry point to TWAIN. This call has numerous parameters, and the last one is of variable type! It was f)
- 2009-11-04 09:20:31下载
- 积分:1
-
Josephus
实现约瑟夫问题的4种算法,并有计时功能进行效率测试(4 algorithms to resolve Josephus Problem with timing counter for testing efficiency)
- 2012-12-20 12:36:46下载
- 积分:1
-
DXF_G_code
DXF轨迹图转G代码,有 直线,圆,圆弧,样条曲线,优化多段线,多段线。与下位机串口通讯!无法编译,是因为要先注册mscomm控件(DXF trajectories turn the G-code, line, circle, arc, spline curves to optimize the polyline, polyline. With lower serial communications! Not compile because the first registered mscomm controls)
- 2020-11-03 08:29:52下载
- 积分:1
-
RTD2270-
RTD2270 源程序,RTD2270V10_NEWCODE_Public_0110822_NEW(RTD2270 源程序RTD2270V10_NEWCODE_Public_0110822_NEW)
- 2020-11-17 20:09:39下载
- 积分:1
-
floy
floyd算法
数据结构
求最短路径(floyd algorithm for data structure for shortest path)
- 2007-11-13 23:39:25下载
- 积分:1
-
GPS-easysuit
matlab处理GPS数据的学习用代码。共5个部分附带说明书。包括第一部分GPS时间系统、第二部分Rinex文件读取、第三部分接收机的地心地固位置计算、第四部分基于伪距码的基线解算、第五部分双差解算(GPS data processing matlab learning with the code. A total of five parts with manual. GPS time system includes a first portion, a second portion Rinex file read, the third part of the ground EarthFixed receiver position calculation, the fourth part of the pseudo-code based on the baseline solution, the fifth part of the double difference solver)
- 2013-09-11 17:22:47下载
- 积分:1
-
ADC
【AVR + Proteus】数码管显示两路AD转换结果([AVR+ Proteus] digital display two way AD conversion result)
- 2013-09-26 08:16:17下载
- 积分:1
-
k_eps
A UDF of k epsilon model which can be used for modified turbulence modelling calculations with ansys fluent
- 2015-03-21 11:38:08下载
- 积分:1
-
GameEngine06
第六章源码,游戏框架输入和时钟引擎(CGameEngine_APP CGameEngine_Input CGameEngine_Timer)(Chapter VI source, Game clock input and engines (CGameEngine_APP CGameEngine_I nput CGameEngine_Timer))
- 2007-01-25 08:45:48下载
- 积分:1
-
room_light
vc++通过串口控制设备,来实现开关灯。是VC的一个串中应用设备例子。自己做的一个项目。(vc++ through the serial port control equipment to achieve the switch lights. VC are a string of examples of applications. Their own to do a project.)
- 2009-02-20 17:59:36下载
- 积分:1