Location:
Search - twain.h
Search list
Description: 包含四个文件。Twain.h &Twain.cpp解释了扫描仪的调动过程(本人在原来基础上加上了分辨率的设置&扫描仪驱动界面的屏蔽)另外两个文件讲解了前两个文件的用法-included four documents. Twain.h & Twain.cpp explained Scanner mobilization process (I based on the original with the Resolution settings & Scanner Driver Interface shielding) another two documents on the previous two documents usage
Platform: |
Size: 8254 |
Author: 东方玉 |
Hits:
Description: 包含四个文件。Twain.h &Twain.cpp解释了扫描仪的调动过程(本人在原来基础上加上了分辨率的设置&扫描仪驱动界面的屏蔽)另外两个文件讲解了前两个文件的用法-included four documents. Twain.h & Twain.cpp explained Scanner mobilization process (I based on the original with the Resolution settings & Scanner Driver Interface shielding) another two documents on the previous two documents usage
Platform: |
Size: 8192 |
Author: 东方玉 |
Hits:
Description: .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
Platform: |
Size: 2310144 |
Author: dlwxn |
Hits:
Description: 利用twain对图像进行扫描的一个小软件,网上对于twain的使用的资料很少,特附上此工程,希望能给大家些许帮助。-twain scan
Platform: |
Size: 471040 |
Author: 龚震 |
Hits:
Description: 接调用已有驱动
1.在STDAFX.H中添加#define _WIN32_WINNT 0x400
将DirectoryChanges.h(.cpp) DelayDirectoryChangeHandler.h(.cpp) Twain.h(.cpp)加入工程
2.在Main.H中:
添加(protected): CDirectoryChangeWatcher m_DirWatcher
CFileChangeMessage m_DirChangeHandler -1. In STDAFX.H add# define _WIN32_WINNT 0x400 will DirectoryChanges.h (. Cpp) DelayDirectoryChangeHandler.h (. Cpp) Twain.h (. Cpp) joined the project 2. In Main.H in: Add (protected): CDirectoryChangeWatcher m_DirWatcher CFileChangeMessage m_DirChangeHandler
Platform: |
Size: 4096 |
Author: 强 |
Hits: