我使用的是指纹识别器UFP20.SDK提供了2个DLL文件(WIS_API.dll,WisCmos2.dll)。不幸的是,他们不提供c#演示代码。我可以连接设备并测试设备。它的工作完美。指纹SDK
问题: 我无法捕获指纹甚至捕获初始化函数的完美工作。 当我调用WIS_Capture()函数时出错。错误 - “此功能试图访问受保护的内存区域,这可能损坏系统”
有关功能的详细信息: -
WIS_Capture
Synopsis
int WINAPI WIS_Capture(HANDLE hInit, int *rCount)
Parameter
hInit The handle returned by WIS_InitDriver()
rCount A value used internally by the function. The developer MUST
initial this value to 0 before use.
Description :
To snap a fingerprint from the fingerprint device to the main memory by a
fingerprint image quality control process. The fingerprint quality control
cycle needs several frames of images and will continuously return the
status of the fingerprint after each frame of image captured.
请帮我避免这种错误。
感谢您的快速回复。但我不能添加我的dll的参考。当我添加引用时,它显示错误“该文件选择的不是有效的程序集或COM组件”。该DLL提供的SDK。我只知道功能。请给我另一个解决方案来解决这个问题。 – Anoop 2009-06-20 06:40:40