ePass有其固有的方法OpenDevice,
在开发人员手册中有这样一句话:If there is no device connected to the system currently, FT_UNIT_NOT_FOUND is returned. 不知道在程序中该怎样得到FT_UNIT_NOT_FOUND这个值,ePass.OpenDevice其实是个过程:procedure TePas.OpenDevice(lFlags: Integer; var pAppID: Byte);但手册上说的返回值到底是怎么一回事呢??跪求答案!!!!!
在开发人员手册中有这样一句话:If there is no device connected to the system currently, FT_UNIT_NOT_FOUND is returned. 不知道在程序中该怎样得到FT_UNIT_NOT_FOUND这个值,ePass.OpenDevice其实是个过程:procedure TePas.OpenDevice(lFlags: Integer; var pAppID: Byte);但手册上说的返回值到底是怎么一回事呢??跪求答案!!!!!
try
frmUePass.ePass.OpenDevice(EPAS_OPEN_FIRST,spAppID_ID^);
except
on e:EOleSysError do
begin
result := IntToStr(Fail)+ErrorStringReturn(e.ErrorCode);
exit;
end
end;
这样得不到吗?