关于vb与pb的转换问题,急!
declare function icc_tsi_api lib"crwicc.dll"(byval fd as long,byval lenc as byte,byval comm as string,byref lenr as byte,byval resp as string)as integer
Global fd as long
private sub cpucommand_click()
dim comm,resp as string
dim lenc,lenr as byte
dim tsiapireturn as integer
tsiapireturn = 0
comm = string(250,vbnullstr)
resp = string(250,vbnullstr)
print"create mf:"
comm = chr(28)+chr(14)+chr(0)+chr(0)+chr(0)
lenc = 5
tsiapireturn = icc_tsi_api(fd,lenc,comm,lenr,resp)
print hex(tsiapireturn)
上面一段vb程序如何改写成pb?请各位赐教,谢谢!