L
lin315
Unregistered / Unconfirmed
GUEST, unregistred user!
出现application terminated error:error calling external function read at line 2 in clicked event of object cb_1 of main.dll文件: library Project2;uses SysUtils, Classes; Function read(b1char;d1:integer;a1char)char; stdcall ; begin if (b1='1')and (a1='2')then Result:= '正确' else Result:= '错误'; a1:= Result; end ;{$R *.res} exports read;beginend.pb中的函数:public function long read (long b1,long d1,ref string a1) library "project.DLL" alias for "Read"请大侠帮帮看看,指点一下。