L
lin315
Unregistered / Unconfirmed
GUEST, unregistred user!
你能帮我为PB程序写一个DLL文件?我写的在DELPHI中能调用,可在PB中就不能调用。哪里有问题请指点一下。pb调用DLL的函数:public function long read (long b1,long d1,ref string a1) library "project.DLL" alias for "Read"我写的DELPHI的DLL文件:library Project2;uses SysUtils, Classes;
Function read(b1char;d1char;a1char)char;
stdcall ;
begin
if (b1='1')and (a1='2')then
Result:= '正确' else
Result:= '错误';
a1:= Result;
end ;{$R *.res} exports read;begin
end.
Function read(b1char;d1char;a1char)char;
stdcall ;
begin
if (b1='1')and (a1='2')then
Result:= '正确' else
Result:= '错误';
a1:= Result;
end ;{$R *.res} exports read;begin
end.