Threading pipe Issue

  • Thread starter Thread starter Lou
  • Start date Start date
L

Lou

When a named pipe message returns a message from an asynchronous
"BeginWrite"
operation I assume the response from the call back is on a different thread.
If so how do I get the message to the main thread so I can write it to a
text file.
I know how to use a delegate to display it to a control using "Invoke" but a
class
module has no Invoke?

-Lou Confused...
 
When a named pipe message returns a message from an asynchronous
"BeginWrite"
operation I assume the response from the call back is on a different thread.
If so how do I get the message to the main thread so I can write it to a
text file.
I know how to use a delegate to display it to a control using "Invoke" but a
class
module has no Invoke?

-Lou Confused...

Why do you need it on the main thread? If you aren't interacting with the UI,
then you don't really need to marshall it.
 
Back
Top