Thank you Francois.

What's the state of v6, are people using it in production apps?  Has
v6 changed the requirement for a NOFORMS message pump at all?


On 20/09/2007, Francois Piette <[EMAIL PROTECTED]> wrote:
> > But am I corret in thinking it is only defined when I
> > recompile the ICS components and not in my app itself?
>
> Wrong. Define NOFORMS in /your/ application project.
>
> >> Correct, that won't work of course. In your ThreadProc create the
> component
> >> and call GetMessage(), TranslateMessage() and DispatchMessage in a loop.
> >> Anything else can either be done from the ICS events, or from handlers of
> >> custom messages posted to Thread, i.e. to stop or start the server etc.
>
> >I still have to call GetMessage(), TranslateMessage() and
> >DispatchMessage even with NOFORMS defined?
>
> Yes you have. Those API calls are to create a message pump. Delphi/BCB
> create such a message pump for you in all GUI applications but don't create
> one in console mode applications nor in any thread so you have to create
> your own.
>
> There are sample console mode, service, and DLL program delivered with
> ICS-V5. If you are using ICS-V6, you can still use those sample programs
> probably just by changing the unit names in the uses clause (prefix with
> OverByteIcs).
>
> 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