Secure Bridge 1.0 - Compilation issue with commercial release

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
Eric .B

Secure Bridge 1.0 - Compilation issue with commercial release

Post by Eric .B » Wed 13 Jun 2007 19:48

:x

Dear all,
I have some issue on compilation with ScBridge:
[C++ Erreur] ScBridge.hpp(574): E2040 Déclaration terminée incorrectement
Contexte d'analyseur complet
DbModule.cpp(6): #include C:\SEIHEC++\FrmMENGEN.h
FrmMENGEN.h(7): #include C:\PROGRAM FILES\BORLAND\CBUILDER5\SECUREBRIDGE\INCLUDE\ScSSHClient.hpp
ScSSHClient.hpp(14): #include C:\PROGRAM FILES\BORLAND\CBUILDER5\SECUREBRIDGE\INCLUDE\ScBridge.hpp
ScBridge.hpp(31): namespace Scbridge
ScBridge.hpp(540): class TScRegStorage



I've got an Error message at the compilation : E2040 Declaration not ended corectly

__property AnsiString KeyPath = {read=FKeyPath, write=SetKeyPath, stored=false};

and this issue generate errors in the main program on Exception management. : Symbol undefined
catch (Exception &exc)
{

Application->ShowException(&exc);

Any help appreciated
Regards

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

Post by Dimon » Thu 14 Jun 2007 10:05

Thank you for information.
In order to fix this problem, open the ScBridge.hpp module. Find in it the string:

Code: Select all

namespace Scbridge
And insert the following strings before it:

Code: Select all

#ifdef KeyPath
#undef KeyPath
#endif
This fix will be included in the next SecureBridge build.

Eric .B

RE: Secure Bridge 1.0 - Compilation issue with commercial release

Post by Eric .B » Thu 14 Jun 2007 23:08

It's works :D

Thank's for you're active support
Regards

Post Reply