----- Original Message ----- 
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Wednesday, April 05, 2006 7:46 PM
Subject: Re: [twsocket] wm_quit in requestdone in thread


> Eh, my OE has no syntax check, why?
>
> const
>    WM_MY_MESSAGE_AFTER_RQ_DONE = WM_USER + 1;
>    WM_WHATEVER_MSG             = WM_USER + 2;
>
> while GetMessage(Msg, 0, 0, 0) do
> begin
>    if Msg.Message = WM_REQUEST then
>    begin
>        ...some code
>        http.GetASync;
>    end
>    else if Msg.Message = WM_MY_MESSAGE_AFTER_RQ_DONE then
>        ...some code after requestdone
>    else if Msg.Message = WM_WHATEVER_MSG then
>        ...??
>    else begin
>        TranslateMessage(Msg);
>        DispatchMessage(Msg);
>    end;
> end;
>
>
mhhhh...I see some light in the tunnel now, will try some new thinks 
according to this code to see if that is indeed the end of the tunnel or the 
train :-)

Thanks for the help! 


-- 
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