Lithia and Thrain,
Pun intended, this thread is awesome.
In my case, I have a custom chat program that uses sockets. Works fine in VS 2003 (or, more accurately, VS 2003 doesn't flag that particular bad programming practice), but I was getting cross-thread errors in after my port of the chat client to VS 2005 when the chat server called a chat client to deliver a chat message. And, I'm presuming that when I port my chat server to VS 2005, I'm going to have to fix the same problem there.
This approach did the trick, and did it simply.![]()
Thanks much!
Bill




Reply With Quote