调用vc些的dll时没有任何反应???请教??/
vc中函数定义 int Em_ChkUsrPIN(unsigned int Hw, unsigned char *PIN);
vc中调用例程:
unsigned char m_pw1[30];
unsigned int DEVICETYPE
....
if(Em_ChkUsrPIN(DEVICETYPE,m_pw1)!=0)
....
我在pb中调用:
FUNCTION int Em_ChkUsrPIN(uint Hw, ref string PIN ) LIBRARY "ic_lib.dll"
脚本:
string vsPw
int virt
....
virt= DAIC_ChkUsrPIN(3,ref vsPw)
....
运行后系统没有任何反应,呈现死机状!为什么??
请问高手如何解决???