非常简单,阅读器本身就有代码示例,几乎没有代码量,直接调用的。
比如以下的声明:
Public Declare Function GetPeopleName Lib "termb.dll" (ByVal lpReturnedString As String, ByRef nReturnLen As Integer) As Integer
'住址
Public Declare Function GetPeopleAddress Lib "termb.dll" (ByVal lpReturnedString As String, ByRef nReturnLen As Integer) As Integer
'身份证号
Public Declare Function GetPeopleIDCode Lib "termb.dll" (ByVal lpReturnedString As String, ByRef nReturnLen As Integer) As Integer
'姓别
Public Declare Function GetPeopleSex Lib "termb.dll" (ByVal lpReturnedString As String, ByRef nReturnLen As Integer) As Integer
'民族
Public Declare Function GetPeopleNation Lib "termb.dll" (ByVal lpReturnedString As String, ByRef nReturnLen As Integer) As Integer
'出生日期
Public Declare Function GetPeopleBirthday Lib "termb.dll" (ByVal lpReturnedString As String, ByRef nReturnLen As Integer) As Integer