procedure Asis_GetErrorMsg(errCode : word ; errMsg: pchar);stdcall;external'function.dll';<br>implementation<br>{$R *.DFM}<br>procedure TForm1.Button1Click(Sender: TObject);<br>var<br> ret: word;<br> mes: string;<br> p: pchar ;<br>begin<br> ret:= 65289;<br> asis_geterrormsg(ret , p);<br> mes:=strpas(p);<br> if messagedlg(mes,mterror,[mbok],0)=mrok then exit;<br><br>end;<br>以上代码有问题吗?