身份证识别仪读信息正常,但无法获取数据,怎么办?
如题,程序如入:程序代码:
iscard=CVR_Authenticate() cReadvalue=CVR_Read_Content(1) DECLARE integer GetPeopleName in termb.dll String @strTmp, Integer @strLen DECLARE integer GetPeopleSex in termb.dll String @strTmp, Integer @strLen DECLARE integer GetPeopleNation in termb.dll String @strTmp, Integer @strLen DECLARE integer GetPeopleBirthday in termb.dll String @strTmp, Integer @strLen DECLARE integer GetPeopleAddress in termb.dll String @strTmp, Integer @strLen DECLARE integer GetPeopleIDCode in termb.dll String @strTmp, Integer @strLen DECLARE integer GetDepartment in termb.dll String @strTmp, Integer @strLen DECLARE integer GetStartDate in termb.dll String @strTmp, Integer @strLen DECLARE integer GetEndDate in termb.dll String @strTmp, Integer @strLen strTmp = Space(255) GetPeopleName(strTmp,strLen) cName=strTmp strTmp = Space(255) GetPeopleSex(strTmp,strLen) cSex=strTmp strTmp = Space(255) GetPeopleNation(strTmp,strLen) cNation=strTmp strTmp = Space(255) GetPeopleBirthday(strTmp,strLen) cBirthday=strTmp strTmp = Space(255) GetPeopleAddress(strTmp,strLen) cAddress=strTmp strTmp = Space(255) GetPeopleIDCode(strTmp,strLen) cIDCode=strTmp strTmp = Space(255) GetDepartment(strTmp,strLen) cDepartment=strTmp strTmp = Space(255) GetStartDate(strTmp,strLen) cStartDate=strTmp strTmp = Space(255) GetEndDate(strTmp,strLen) cEndDate=strTmp cMessage='姓名:'+cName+chr(13)+'性别:'+cSex+chr(13)+ '民族:'+cNation+chr(13)+ '日期:'+cBirthday+chr(13)+ '地址:'+cAddress+chr(13)+ '身份证号:'+cIDCode+chr(13)+ '发证机关:'+cDepartment+chr(13)+ '有效期始:'+cStartDate+chr(13)+ '有效期止:'+cEndDate+chr(13) thisform.edit1.value=cMessage thisform.image1.picture='zp.bmp'
前面都正常, 这里不能显示了,怎么了?
深圳华视,CVR-100U
[此贴子已经被作者于2016-8-5 13:23编辑过]