I am on delphi XE with the last version 3 update and when I add a ondata event
It creates this:
procedure sftpData(Sender: TObject; const FileName: string; const Handle,
Buffer: TArray; Offset, Count: Integer; EOF: Boolean);
Delphi XE does not like the Tarray
Any ideas on why it's doing this when I add the event?
SFTP ondata event problem
Thanks,Dimon wrote:This is a known problem with XE.
As a workaround you should change TArray to TBytes and assign the event handler in code at run-time instead of assigning it at design-time.
did some digging and found that out, hard to believe they didn't fix that in the first update to XE. oh well.