Re: [twsocket] Bomb

2011-04-29 Thread Francois PIETTE

Hi Francois,
I understand it now.
I didn't get the idea in the first place :(
I tought it should be somehow different and need to be placed in the 
code..


When a symbol impact a lot of units, it is more convenient to set it at the 
project level so that it is really global. This is specially required if a 
unit may be part of several projects but using different values for the 
symbol according to the project. In that case you have no other choice than 
set it in the project options.




Sorry for the trouble.


No problem, you're welcome.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

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


Re: [twsocket] Bomb

2011-04-29 Thread Anton S.
That Bomb trick causes some troubles like Code insight failure or something 
else - I don't remember exactly, but I experienced one. Actually it could be 
replaced by {$MESSAGE FATAL 'Wrong defines'} undestandable by new compilers, 
and old compilers would stop on it anyway. 

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


Re: [twsocket] Bomb

2011-04-29 Thread Arno Garrels
Anton S. wrote:
 Actually it could be replaced by {$MESSAGE FATAL 'Wrong defines'}

Agreed, the MESSAGE directive is supported since at least D7 and ICS 
already uses it at some places.

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


Re: [twsocket] Bomb

2011-04-29 Thread Francois PIETTE

OK.

--
francois.pie...@overbyte.be
http://www.overbyte.be

- Original Message - 
From: Arno Garrels arno.garr...@gmx.de

To: ICS support mailing twsocket@elists.org
Sent: Friday, April 29, 2011 7:53 PM
Subject: Re: [twsocket] Bomb



Anton S. wrote:

Actually it could be replaced by {$MESSAGE FATAL 'Wrong defines'}


Agreed, the MESSAGE directive is supported since at least D7 and ICS 
already uses it at some places.


--
Arno Garrels  
--

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

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


Re: [twsocket] Bomb

2011-04-28 Thread daniel cc

Hi Francois,
Thanks for the response :)
Do I need to do anything, define anything?
I am using the SSL socket..

Thanks in advance

-Original Message- 
From: Francois PIETTE

Sent: Thursday, April 28, 2011 8:45 AM
To: ICS support mailing
Subject: Re: [twsocket] Bomb


Could someone please explain,
what this means?

Bomb('Add USE_SSL in the define section in project options');


The code in the unit where such line is included is intended to be compiled
using the USE_SSL symbol defined at the project level. The line is there to
trigger a compilation error should the user forgot to define the symbol.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

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


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


Re: [twsocket] Bomb

2011-04-28 Thread Francois Piette
You have to define use_ssl on your project option and rebuild all.
-- 
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.


daniel cc dan...@signedsource.com a écrit :

Hi Francois, Thanks for the response :) Do I need to do anything, define 
anything? I am using the SSL socket.. Thanks in advance -Original 
Message- From: Francois PIETTE Sent: Thursday, April 28, 2011 8:45 AM To: 
ICS support mailing Subject: Re: [twsocket] Bomb  Could someone please 
explain,  what this means?   Bomb('Add USE_SSL in the define section in 
project options'); The code in the unit where such line is included is 
intended to be compiled using the USE_SSL symbol defined at the project level. 
The line is there to trigger a compilation error should the user forgot to 
define the symbol. -- francois.pie...@overbyte.be The author of the freeware 
multi-tier middleware MidWare The author of the freeware Internet Component 
Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings 
for TWSocket mailing list please goto 
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at 
http://www.overbyte.be -- To unsubscribe or change your
settings for TWSocket mailing list please goto 
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at 
http://www.overbyte.be 

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

Re: [twsocket] Bomb

2011-04-28 Thread daniel cc

Hi Francois,
Thanks for the response.
How do I do this exactly?
I am not sure if understand what i need to do.

Thanks in advance

-Original Message- 
From: Francois Piette

Sent: Thursday, April 28, 2011 9:46 AM
To: ICS support mailing
Subject: Re: [twsocket] Bomb

You have to define use_ssl on your project option and rebuild all.
--
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté.


daniel cc dan...@signedsource.com a écrit :

Hi Francois, Thanks for the response :) Do I need to do anything, define 
anything? I am using the SSL socket.. Thanks in advance -Original 
Message- From: Francois PIETTE Sent: Thursday, April 28, 2011 8:45 AM 
To: ICS support mailing Subject: Re: [twsocket] Bomb  Could someone please 
explain,  what this means?   Bomb('Add USE_SSL in the define section in 
project options'); The code in the unit where such line is included is 
intended to be compiled using the USE_SSL symbol defined at the project 
level. The line is there to trigger a compilation error should the user 
forgot to define the symbol. -- francois.pie...@overbyte.be The author of 
the freeware multi-tier middleware MidWare The author of the freeware 
Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or 
change your settings for TWSocket mailing list please goto 
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website 
at http://www.overbyte.be -- To unsubscribe or change your
settings for TWSocket mailing list please goto 
http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website 
at http://www.overbyte.be


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


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

Re: [twsocket] Bomb

2011-04-28 Thread Francois PIETTE

You have to define use_ssl on your project option and rebuild all.



How do I do this exactly?
I am not sure if understand what i need to do.


Delphi menu / Project / Options / Delphi Compiler / Conditional Definitions 
(May vary according to Delphi version)

then add USE_SSL after the existing if any.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


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


Re: [twsocket] Bomb

2011-04-28 Thread daniel cc

Hi Francois,
I understand it now.
I didn't get the idea in the first place :(
I tought it should be somehow different and need to be placed in the code..

Sorry for the trouble.

Thanks a lot.


-Original Message- 
From: Francois PIETTE

Sent: Thursday, April 28, 2011 2:29 PM
To: ICS support mailing
Subject: Re: [twsocket] Bomb


You have to define use_ssl on your project option and rebuild all.



How do I do this exactly?
I am not sure if understand what i need to do.


Delphi menu / Project / Options / Delphi Compiler / Conditional Definitions
(May vary according to Delphi version)
then add USE_SSL after the existing if any.

--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be


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


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


[twsocket] Bomb

2011-04-27 Thread daniel cc
Hi,
Could someone please explain,
what this means?

Bomb('Add USE_SSL in the define section in project options');

This is in the Server demo project.

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


Re: [twsocket] Bomb

2011-04-27 Thread Francois PIETTE

Could someone please explain,
what this means?

Bomb('Add USE_SSL in the define section in project options');


The code in the unit where such line is included is intended to be compiled 
using the USE_SSL symbol defined at the project level. The line is there to 
trigger a compilation error should the user forgot to define the symbol.


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

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