函数原型:short USER_API dc_cpureset ( HANDLE icdev, unsigned char ∗ rlen, unsigned char ∗ databuffer )
VB中声明如下:Declare Function dc_cpureset Lib "Trf32.dll" (ByVal icdev As Long, ByRef rlen As Any, ByRef databuffer As Any) As Long
实际调用如下:
Dim sResponse(30) As Byte
Dim rlen As Byte
IccResetCard_T10N = dc_cpureset(icdev, rlen, sResponse(0))
一执行,程序自动退出了,求VB大拿指教啊