I always thaught that NOFORMS had to be defined for its own thread-save 
window allocation proc (and dealloc)
So as long as the Forms unit in included in the project's uses clause, I 
don't need to define NOFORMS in any of the threads ?

Paul

----- Original Message ----- 
From: "Francois Piette" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Monday, July 16, 2007 2:00 PM
Subject: Re: [twsocket] NOFORMS


>> Do I need to define NOFORMS in a thread when a blocking call (Http-Get) 
>> is
> used ?
>>
>> I'm using it without in a thread and it works fine (using it 2 years)
>>
>> I need to exchange a lot of database connections to webservice 
>> connections
> and the main thread doesn't need the NOFORMS define.
>> I would need a lot defines and undefs otherwise
>
> NOFOMRS has nothing to do with the fact that the component is used within 
> a
> secondary thread or the main thread. NOFORMS change the code in the
> component so that it doesn't depends on the forms unit which is huge and 
> can
> make a program executable file much larger even if no form is needed
> (typically in console mode program).
>
>
> Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html
> --
> [EMAIL PROTECTED]
> Author of ICS (Internet Component Suite, freeware)
> Author of MidWare (Multi-tier framework, freeware)
> 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