A
asiancat
Unregistered / Unconfirmed
GUEST, unregistred user!
Dll是这么写的library Ftp;procedure ftpfile(direction: string; FileName: string; hoststring: string; portnum: integer); stdcall;exports ftpfile;调用程序是这么写的:var Form1: TForm1;procedure Ftpfile(direction: string; FileName: string; hoststring: string; portnum: integer); stdcall;external 'ftp.dll';implementation{$R *.dfm}procedure TForm1.Button1Click(Sender: TObject);begin Ftpfile('up', 'a.rar', '108.118.4.40', 21);end;程序运行时候报错:无法定位程序输入点FtpFile于动态链接库不知道是哪里错了,请大家帮忙