Frans van Daalen wrote:
> m...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 :-)
Probably just the train you should jump on ;) Try to think fully event-driven.
---
Arno Garrels [TeamICS]
http
Wilfried Mestdagh wrote:
> Hello Arno,
>
>> Eh, my OE has no syntax check, why?
>
> ;-)
> We should write our own with TSmtpCli and syntax check.
OK, count me in, it should at least support Pascal, C, C++, and C#.
May be we have some minutes at the next weekend ;)
---
Arno Garrels [TeamICS]
htt
thanks for the extra info
- Original Message -
From: "Wilfried Mestdagh" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Wednesday, April 05, 2006 8:20 PM
Subject: Re: [twsocket] wm_quit in requestdone in thread
> Hello,
>
> Release post a messa
- Original Message -
From: "Arno Garrels" <[EMAIL PROTECTED]>
To: "ICS support mailing"
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_
-
> From: "Frans van Daalen" <[EMAIL PROTECTED]>
> To: "ICS support mailing"
> Sent: Wednesday, April 05, 2006 7:21 PM
> Subject: Re: [twsocket] wm_quit in requestdone in thread
>> - Original Message -
>> From: "Fastream Technologi
Hello Arno,
> Eh, my OE has no syntax check, why?
;-)
We should write our own with TSmtpCli and syntax check.
---
Rgds, Wilfried [TeamICS]
http://www.overbyte.be/eng/overbyte/teamics.html
http://www.mestdagh.biz
--
To unsubscribe or change your settings for TWSocket mailing list
please goto ht
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.Messag
Why do you call WSocket's message pump from within
your own? GetMessage returns FALSE after receiving WM_QUIT.
So you could just post another, custom message.
Try this instead:
while GetMessage(Msg, 0, 0, 0) do
begin
if Msg.Message = WM_REQUEST then
Begin
...some code
WM_QUIT has the same effect as Release!
Regards,
SZ
- Original Message -
From: "Frans van Daalen" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Wednesday, April 05, 2006 7:21 PM
Subject: Re: [twsocket] wm_quit in requestdone in thread
> - O
- Original Message -
From: "Fastream Technologies" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Wednesday, April 05, 2006 6:05 PM
Subject: Re: [twsocket] wm_quit in requestdone in thread
> Hello,
>
> Why don't you use the Release metho
Hello,
Why don't you use the Release method of VCL in the requestdone?
Regards,
SZ
- Original Message -
From: "Frans van Daalen" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Wednesday, April 05, 2006 6:44 PM
Subject: [twsocket] wm_quit in requ
I have the following code
procedure TConsumerThread.Execute;
...some code
while GetMessage(Msg, 0, 0, 0) do
begin
TranslateMessage(Msg);
DispatchMessage(Msg);
if Msg.Message = WM_REQUEST then
Begin
...some code
http.GetASync;
http.CtrlSoc
12 matches
Mail list logo