> Sorry but this was wrong. I found the solution:
>
> If X>=0 Then
>    Begin
>    If ForceSleep Then
>    begin
>       Application.ProcessMessages;
>       Sleep(x);
>       end
>    Else
>       MsgWaitForMultipleObjects(0,msgHandles,False,X,QS_SENDMESSAGE);
>    End;
>
> Application.ProcessMessages is the solution. Maybe this helps others to. Thx
> again for pointing me to this great code.

Seems fine, but what if you create a Windows Service ? Or some kind of an 
activeX ?

i'd rather use the ftp client socket processmessages...

HTH,

Best regards,

Guillaume MAISON
-----
Guillaume MAISON - [EMAIL PROTECTED]
83, Cours Victor Hugo
47000 AGEN
TÚl : 05 53 87 91 48 - Fax : 05 53 68 73 50
e-mail : [EMAIL PROTECTED] - Web : http://nauteus.com


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