What are the diffs between this functions ? > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Fastream > Technologies > Sent: Friday, June 29, 2007 3:28 PM > To: ICS support mailing > Subject: Re: [twsocket] TWSocketServer in thread > > Hello, > > Instead of Sleep(), why don't you Pause() the twsocket? That > would be better IMHO. > > Regards, > > SZ > > ----- Original Message ----- > From: "Engi" <[EMAIL PROTECTED]> > To: "'ICS support mailing'" <twsocket@elists.org> > Sent: Friday, June 29, 2007 4:16 PM > Subject: Re: [twsocket] TWSocketServer in thread > > > > > > Here is a part of my Execute() code : > > > > try > > { > > while (GetMessage(&msg, NULL, 0, 0) && !Terminated) > > { > > DispatchMessage(&msg); > > > > if (!DialogError) > > { > > ... > > ... > > ... > > } > > > > Sleep(1); > > } > > } > > catch(Exception &e) > > { > > if (DebugActif) OutputDebugString("*** exception: " + > > e.Message); > > } > > > > Is it correct ? > > > > > > > > > -- > 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 > > > __________ NOD32 2363 (20070629) Information __________ > > This message was checked by NOD32 antivirus system. > http://www.eset.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