指纹机记录读取
研究过中控指纹机的朋友帮忙 型号u260
读取指纹机中考勤记录的代码如下:
if (zk->ReadAllGLogData(1)) { /*将1号指纹机上的考勤记录读入内存*/while(zk->GetGeneralExtLogData(1,&dwEnrollNumber,&dwVerifyMode,&dwInOutMode,&dwYear,&dwMonth,&dwDay,&dwHour,&dwMinute, &dwSecond, &dwWorkCode, &dwReserved)) { /*读取内存中的考勤记录*/CString tmp;tmp.Format("%d,%d,%d,%d", dwEnrollNumber, dwYear, dwMonth, dwDay);MessageBox(tmp);}