I just upgraded my BCB6 project and I think you redefined it for Win32 AS 
WELL. Please check out the code I uploaded. See my messages.

Regards,

SZ

----- Original Message ----- 
From: "Francois PIETTE" <[EMAIL PROTECTED]>
To: <twsocket@elists.org>
Sent: Tuesday, May 30, 2006 10:17 PM
Subject: Re: [twsocket] Removing namespace in pascal hpp


: You should see why WM_QUIT is redefined for BCB while it is conditionally
: compiled when symbol CLR is defined. Symbol CLR is defined when compiling
: with a .NET compiler (that is a .NEt project). When you created your BCB
: project, are you sure you created a Win32 project ? Didn't you define
: yourself the symbol CLR ?
:
: --
: Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
: --
: [EMAIL PROTECTED]
: http://www.overbyte.be
:
:
:
: ----- Original Message ----- 
: From: "Fastream Technologies" <[EMAIL PROTECTED]>
: To: "Francois Piette" <[EMAIL PROTECTED]>
: Sent: Tuesday, May 30, 2006 8:12 PM
: Subject: Fw: Removing namespace in pascal hpp
:
:
: > FYI.
: >
: > ----- Original Message ----- 
: > From: "Rudy Velthuis [TeamB]" <[EMAIL PROTECTED]>
: > Newsgroups: borland.public.cppbuilder.vcl.components.using
: > Sent: Tuesday, May 30, 2006 8:10 PM
: > Subject: Re: Removing namespace in pascal hpp
: >
: >
: > : At 15:59:39, 30.05.2006, SubZero wrote:
: > :
: > : > It's not my design and it is Francois' idea/will to keep the design 
as
: > : > it is (with little modification for BCB compliance).
: > :
: > : I think you misunderstand.
: > :
: > : The CLR symbol is set by the Delphi for .NET compiler, not by 
Francois.
: > : It should not be defined when you are NOT compilingt for .NET, or,
: > : reversely, if it is set, something is very wrong.
: > :
: > : I am not telling you to change anything. But the code I have seen (I
: > : downloaded ICS v6 beta) is meant for both Win32 and for .NET. Some 
parts
: > : are only meant to compile for .NET. The .NET part has some definitions
: > : and declarations (like WM_QUIT, etc.), which are not needed, nor
: > supposed
: > : to be compiled for Delphi for Win32.
: > :
: > : So if you see these items in the .hpp file anyway, something is not
: > : correct. You might also be using other code actually meant for .NET 
and
: > : not for Win32. Such code might for instance rely on the presence of a
: > : garbage collector, and if used in Win32, it may leak memory.
: > :
: > : -- 
: > : Rudy Velthuis [TeamB]        http://rvelthuis.de/
: > :
: > : "The only way to get rid of a temptation is to yield to it."
: > :    - Oscar Wilde (1854-1900)
:
: -- 
: 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