楓
楓葉下的風鈴
Unregistered / Unconfirmed
GUEST, unregistred user!
我在线程中建的
var 了一个DownFtp:TIdftp
为什么我在Synchronize(UpdateProgress)
procedure TDownThread.UpdateProgress;
begin
DownFtp.OnWork:=IdFTPWork;
end;
procedure TDownThread.IdFTPWork(Sender: TObject; AWorkMode: TWorkMode;
const AWorkCount: Integer);
begin
//
end;
编译不过...
[Pascal Error] UDownThread.pas(277): E2009 Incompatible types: 'Parameter lists differ'
怎么回事呢?
var 了一个DownFtp:TIdftp
为什么我在Synchronize(UpdateProgress)
procedure TDownThread.UpdateProgress;
begin
DownFtp.OnWork:=IdFTPWork;
end;
procedure TDownThread.IdFTPWork(Sender: TObject; AWorkMode: TWorkMode;
const AWorkCount: Integer);
begin
//
end;
编译不过...
[Pascal Error] UDownThread.pas(277): E2009 Incompatible types: 'Parameter lists differ'
怎么回事呢?