Page 1 of 1

SecureBridge, Delphi7 and INDY 10

Posted: Thu 10 Jun 2010 20:44
by Ruekaka
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

Posted: Fri 11 Jun 2010 10:35
by Dimon
Please specify exact version of your Indy components.

Posted: Fri 11 Jun 2010 12:54
by Ruekaka
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

Posted: Tue 15 Jun 2010 09:33
by Dimon
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.

Posted: Tue 22 Jun 2010 15:55
by Ruekaka
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

Posted: Wed 23 Jun 2010 12:33
by Dimon
To solve the problem, add the folowing line just after the line with 'uses' keyword:

Code: Select all

{$DEFINE VER200}

Posted: Wed 23 Jun 2010 14:28
by Ruekaka
Perfect, thanks.
Now it works as expected.

Posted: Wed 23 Jun 2010 14:40
by Dimon
I am happy that this problem has been solved.