Hi all,
i've just downloaded and installed the demo version of SecureBridge for my Delphi 7, and I was trying to take a look at the SFTPClient demo application, but the compile give me some errors.
First of all, I receive the "Undeclared identifier: 'TBytes'" error in the RandomForm.pas unit, on row 23 (this declaration: FData: TBytes; ).
If I create at the top of the unit the type TBytes as "array of Byte", compiling I get a new error: "There is no overloaded version of 'Randomize' that can be called with these arguments" in the DemoForm.pas unit, on row 271 (this code: Random.Randomize(fmRandom.Data); ).
What's goin' on? Why these errors, and how can I solve them?
SFTPClient demo application
ScTypes breaks INT function
I just added the ScTypes unit to the uses clause to try to get rid of a complaint about TBytes and something else, and found that it broke the standard INT function in Delphi 5.
To reproduce:
To reproduce:
- Create a new project
Double-click the form and add these two lines of code to the appropriate spot:- var r: extended;
r := int(r);
Add ScTypes to the Uses clause of the form
Compile and see Invalid Typecast error. - var r: extended;
Re: SFTPClient demo application
Thank you for information. We will fix this problem in the next SecureBridge build.