Original Post
I have a C++ dll (written in VC6) which creates a window in a thread and sends and recives messages to and from another application. When a message is recieved from the other application the dll will issue a callback to the host program. Since the window is on another thread I have to use Control.BeginInvoke() in my managed C# program that is hosting the dll. That works fine. But there are other people using the dll in different languages like Delphi and VB6. So I wanted to have the dll take care of issuing the callbacks on the same thread as a control or HANDLE they pass through to the dll on initialization. So long story short, is there a C++ equivalent to Control.BeginInvoke()?