----- Original Message ----- From: "Markus Humm" <[EMAIL PROTECTED]>
To: "ICS support mailing" <twsocket@elists.org>
Sent: Monday, May 02, 2005 6:29 AM
Subject: Re: [twsocket] ReadLine




You _always_ need a message pump. If the calling program doesn't provide one, you must provide one and to have one without interfering with the calling DLL it is better to have all you stuff in a thread. Consider a thread as a program within a program.

If you don't want to have a thread, you must ask the host application to
provide a hook for Application.ProcessMessages (or equivalent if the host
application is written using another language). You can do that by using a
callback.



Now you've worried me a bit...


Sorry. You are now back to reality.

Hm, could that message pump be realised by a timer in the dll where the
application.processmessages is called each onTimer event?

Greetings

Markus


Hehe, TTimer relies on messages also.

Dan


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