procedure TForm1.dolist(AJob: PQJob);
var
a:TStringList;
begin
a:=TStringList(AJob.Data);
ShowMessage(a.Text);
end ;
procedure TForm1.Button2Click(Sender: TObject);
var
AList: TStringList;
begin
AList := TStringList.Create;
AList.Values[‘Name‘] := ‘swish‘;
AList.Values[‘Website‘] := ‘http://blog.qdac.cc‘;
Workers.Post( dolist
, AList, True, jdfFreeAsObject);
end;
原文地址:https://www.cnblogs.com/wskc/p/9898608.html
时间: 2024-10-10 22:23:57