Hi, I've just downloaded the trial version of SecureBridge (sbridge26.exe) and am using it with C++ Builder 10.3. I've managed to get the basic file upload working which is all I need, but cannot create some of the events. When I try to create the event I get the message "Incorrect method declaration" from the IDE. It looks like something to do with the use of TArray which is being used in the event handler function signature, but is not being set up with the correct C++ syntax. E.g. for the TScSFTPClient OnSuccess event I get the following:
Code: Select all
ScSFTPClientSuccess(TObject *Sender, TScSFTPOperation Operation, const UnicodeString FileName,
const TArray<System.Byte> Handle, const UnicodeString Message);
A similar thing happens for some other events as well, such as OnError/AfterWriteData etc.