L
laowt
Unregistered / Unconfirmed
GUEST, unregistred user!
http://www.delphibbs.com/delphibbs/dispq.asp?lid=3992430http://www.delphibbs.com/delphibbs/dispq.asp?lid=3992483问题接近解决,但abcd_Write虽有问题还可用,abcd_Read函数一用就报错。这个问题一解决,一起结账声明function EasyUSB_Read:Longint; cdecl; external ABCDdll;调用procedure TForm1.btnReadClick(Sender: TObject);Var aa:integer;begin aa:=integer(EasyUSB_Read); edValue.Text := IntToStr(aa); end;由于dll有三个端口,参数好像分别为data1, data2, data3,由于不知道data1参数值,我这里像vb程序只管第一个。但还是出错!由于不知道data1参数值,