Hello Mice,

> TSMThrottle_Delay(Count,20000,true);
> When the Delayfunction starts to work the whole amp starts to freeze

See the ForceSleep argument in the delay function. If you set it (like
you did), it uses sleep to delay. when you use sleep your application
stops pumping messages, so it freeze.

 TSMThrottle_Delay(Count, 20000, False);

Should do the job. However I dont know if the code is designed to use in
main thread context. You can try of course.

Rgds, Wilfried

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