> However i'm having a problem with showing a Windows Form in the
> asynchronous Read procedure in the client application.
This is going to be... tricky.
When you're in the callback from the Async Read, you're running on a
threadpool thread - not your applications main thread. Not the same thread
as your existing message pump is tied to.
You'll need to marshall over to your main thread, (using
Control.BeginInvoke) to do any interesting forms stuff.

Signature
Chris Mullns
Andrew Dimech - 31 Aug 2004 08:27 GMT
Thanks my friend. I thought the problem might had to do with threads but i
was not sure. Any code example or source from where i can get this working?
Much appreciated.
Andrew
> > However i'm having a problem with showing a Windows Form in the
> > asynchronous Read procedure in the client application.
[quoted text clipped - 7 lines]
> You'll need to marshall over to your main thread, (using
> Control.BeginInvoke) to do any interesting forms stuff.