EldoS | Feel safer!

Software components for data protection, secure storage and transfer

SSHBlackbox\Client\Terminal problem

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#8006
Posted: 11/03/2008 00:57:25
by  dragon100 dragon100
when i try to compile sshblackbox client terminal example. all the component i had installed,it can open sshterminal.dpr.but when i try to compile it ,a messagebox pop up.it says "expected ')' but an identifier found" .
Code
procedure ElSSHClientReceive(Sender: TObject; Buffer: Pointer;
      MaxSize: Integer; {$ifdef BUILDER_USED}var{$else}out{$endif} Written: Integer);
.it stay here.
what does this mean?i search the internet,but nothing found.what's the matter?how to run this example"terminal"
#8009
Posted: 11/03/2008 01:37:35
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

First, would you be so kind to specify the version of Delphi you are using?

Second, on what exactly line (of the two ones you have specified) and position the error is reported?
#8013
Posted: 11/03/2008 02:58:30
by  dragon100 dragon100
i use delphi 7 and the position is
Code
procedure ElSSHClientReceive(Sender: TObject; Buffer: Pointer;
      MaxSize: Integer; {$ifdef BUILDER_USED}var{$else}out{$endif} Written: Integer);

before " Written: Integer);" 。
#8014
Posted: 11/03/2008 03:09:56
by Ken Ivanov (EldoS Corp.)

Seems like a compiler bug. Please try to replace the {$ifdef}...{$endif} section with a single out modifier:

procedure ElSSHClientReceive(Sender: TObject; Buffer: Pointer;
MaxSize: Integer; out Written: Integer);
#8016
Posted: 11/03/2008 04:55:43
by  dragon100 dragon100
ok ,it can work
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

Topic viewed 1947 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!