[snip] >> >>The thing is that the code is in a dll, so application.processmessages >>might not work here. Or does it? The timeout will be rather short anyhow >>(ca. 50 ms) and I think i do it with GetTickCount, which should be >>sufficient here and more easy to use than a at this place timer. >>Or is there anything bad with these ideas?
So far the dll works (ICS asynchronous transfer included), as the calling application is a Delphi one which calls application.processmessages from time to time. Do I really need a message pump in this case? I think not, since the program never spends long times in the dll, because the data is given back to the caller very fast via callbacks. But: in the near future the caller will be another dll. What's then? I don't know whether this part of the program will contain more than a starter stub later. Who needs a message pump then? Now you've worried me a bit... Greetings Markus -- 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
