D
dlucky
Unregistered / Unconfirmed
GUEST, unregistred user!
var
temp:TMemoryStream;
begin
temp :=TMemoryStream.Create;
Image1.Picture.Graphic.SaveToStream(temp);
IdTCPClient1.Connect();
IdTCPClient1.WriteStream(temp);
IdTCPClient1.Disconnect();
temp.Free;
end;
执行到 IdTCPClient1.Connect();出错!问下哪行代码有问题?
temp:TMemoryStream;
begin
temp :=TMemoryStream.Create;
Image1.Picture.Graphic.SaveToStream(temp);
IdTCPClient1.Connect();
IdTCPClient1.WriteStream(temp);
IdTCPClient1.Disconnect();
temp.Free;
end;
执行到 IdTCPClient1.Connect();出错!问下哪行代码有问题?