我正在使用指纹读取器 UFP20。SDK 提供 2 个 DLL 文件(WIS_API.dll、WisCmos2.dll)。不幸的是,他们不提供 c# 演示代码。我可以连接设备并测试设备。它工作完美。
问题:我无法捕获指纹,即使捕获初始化功能工作正常。调用 WIS_Capture() 函数时出错。错误 - “此函数试图访问受保护的内存区域,这可能会损坏系统”
有关该功能的更多详细信息:-
WIS_捕获
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.
请帮助我避免此错误。