Showing modeless form in VB DLLs called from MFC
-
(Sorry, I'm cross posting this to both the VB and C++ forums as it covers both). I have a common problem - I need to show the modeless forms which reside in a VB ActiveX Dll, called from an MFC client app. I know that it isn't possible to show a modeless form in a VB ActiveX DLL (unless VB itself is also the client), because the modeless form needs to hook into a message loop to receive windows messages. The MSDN docs state that VB looks for something called the 'component manager' on the client to hook into which MFC doesn't provide. Has anyone worked out how to get around this? Is is possible to mimic the functionality of the component manager in the client app, or at least the parts the modeless form is looking for? What is the myterious interace the VB is looking for? Am I on a hiding to nothing here? Thanks