SecureBridge, Delphi7 and INDY 10

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
Ruekaka
Posts: 7
Joined: Thu 10 Jun 2010 13:24

SecureBridge, Delphi7 and INDY 10

Post by Ruekaka » Thu 10 Jun 2010 20:44

Hello!

I try to install the component for INDY 10 with Delphi 7 Enterprise.

I get the following error messages:
[Error] ScIndy.pas(44): Cannot override a static method
[Warning] ScIndy.pas(48): Method 'SourceIsAvailable' hides virtual method of base type 'TIdIOHandlerSocket'
[Warning] ScIndy.pas(49): Method 'ReadDataFromSource' hides virtual method of base type 'TIdIOHandler'
[Warning] ScIndy.pas(54): Method 'WriteDataToTarget' hides virtual method of base type 'TIdIOHandler'
[Error] ScIndy.pas(62): Declaration of 'CheckForDataOnSource' differs from previous declaration
[Error] ScIndy.pas(70): Cannot override a static method
[Error] ScIndy.pas(177): Undeclared identifier: 'Min'
[Error] ScIndy.pas(328): Incompatible types
[Fatal Error] indy10sbridge70.dpk(36): Could not compile used unit '..\ScIndy.pas'

The INDY components are from April 2010 and D7 has all service packs installed.

Does anybody knows how to get this comination installed?

Thanks in advance.
With kind regards,
Ruediger Kabbasch

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 11 Jun 2010 10:35

Please specify exact version of your Indy components.

Ruekaka
Posts: 7
Joined: Thu 10 Jun 2010 13:24

Post by Ruekaka » Fri 11 Jun 2010 12:54

IdVers.inc:

gsIdVersion = '10.2.3'; {do not localize}
gsIdProductName = 'Indy'; {do not localize}


The test was done with a package from April 2010, in the meantime I installed the version from 8. June 2010.

With kind regards
Ruediger Kabbasch

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 15 Jun 2010 09:33

I still can not reproduce the problem.
Please, check that you have the latest SecureBridge build (2.60.0.15).
If this does not solve the problem, please send me to dmitryg*devart*com the IdIOHandler.pas and IdIOHandlerSocket.pas units you are using.

Ruekaka
Posts: 7
Joined: Thu 10 Jun 2010 13:24

Post by Ruekaka » Tue 22 Jun 2010 15:55

Hi,

thanks for your answer and sorry for the delay.

I download and install the latest available version of SecureBridge today.
I download and install the latest available version of INDY 10 (Zip file IndyTiburon.zip).

I still tet the same error messages as reported before.

I'll send you the IdIOHandler... files by mail.

With kind regards,
Ruediger Kabbasch

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 23 Jun 2010 12:33

To solve the problem, add the folowing line just after the line with 'uses' keyword:

Code: Select all

{$DEFINE VER200}

Ruekaka
Posts: 7
Joined: Thu 10 Jun 2010 13:24

Post by Ruekaka » Wed 23 Jun 2010 14:28

Perfect, thanks.
Now it works as expected.

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 23 Jun 2010 14:40

I am happy that this problem has been solved.

Post Reply