I agree with you in your assessment but how do we prevent the Pascal 
compiler to add the

using namespace ...

line in .hpp file? The problem is this.

Best Regards,

SZ

----- Original Message ----- 
From: "Dan" <[EMAIL PROTECTED]>
To: "'ICS support mailing'" <twsocket@elists.org>
Sent: Monday, May 29, 2006 3:06 PM
Subject: Re: [twsocket] [ICS-SSL] Looking for a consultant to 
makeICSv6support BCB2006


: It's generally a bad idea to use the using directive in header files.  You
: should use the full name of any identifiers. Eg. 
Overbyteicslibrary::WM_QUIT
:
: Dan
:
: -----Original Message-----
: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
: Behalf Of Fastream Technologies
: Sent: 29 May 2006 12:44
: To: ICS support mailing; SSL implementation for ICS
: Subject: Re: [twsocket] [ICS-SSL] Looking for a consultant to make
: ICSv6support BCB2006
:
: One other solution would be to remove the "using namespace
: overbyteicslibrary" directive in the hpp but I have never done such task.
: Any idea?
:
: Greetings from Turkey,
:
: SZ
:
: ----- Original Message ----- 
: From: "Fastream Technologies" <[EMAIL PROTECTED]>
: To: "ICS support mailing" <twsocket@elists.org>; "SSL implementation for
: ICS" <[EMAIL PROTECTED]>
: Sent: Monday, May 29, 2006 1:34 PM
: Subject: [ICS-SSL] Looking for a consultant to make ICSv6 support BCB2006
:
:
:: Hello,
::
:: Fastream needs help on making ICSv6 to support BCB2006. Current problem 
is
:: that Francois decided to redefine identifiers like,
::
:: WM_QUIT
::
:: in the unit OverbyteIcsLibrary.pas. This is no problem for pascal but the
:: auto produced hpp includes using namespace... making everything global 
and
:: therefore the Windows definition and the ICS definition clashes. Francois
:: suggested two solutions for this,
::
:: 1) Use HPPEMIT
:: 2) Use IFNDEF
::
:: However in our efforts, both have failed. If you are good at Delphi/C++,
: and
:: can work on this this week, please email us privately with your bid.
::
:: (Note: the problem occurs when a project including the components are
:: compiled, not when the package is compiled.)
::
:: Best Regards,
::
:: SubZ
::
:: _______________________________________________
:: ICS-SSL mailing list
:: [EMAIL PROTECTED]
:: http://www.elists.org/mailman/listinfo/ics-ssl
:
: -- 
: To unsubscribe or change your settings for TWSocket mailing list
: please goto http://www.elists.org/mailman/listinfo/twsocket
: Visit our website at http://www.overbyte.be
:
:
: -- 
: To unsubscribe or change your settings for TWSocket mailing list
: please goto http://www.elists.org/mailman/listinfo/twsocket
: Visit our website at http://www.overbyte.be 

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to