-
Active X EXE
Hi
I am trying to spilt a very large EXE up so that i can reuse the components in different programs. I was looking at using ActiveX EXE to store forms, modules, and classes etc. The problem lies in that the main exe has a MDI form with lots of child form and i want to put some of these child forms in to the Active X EXE but I have not succesfull loaded any of the with in the Main EXE this way because it wants a parent form first of all. Does anyone know a way around this problem or other solutions .
Cheers
-
Well, you can use the SetParent API to set a window's parent - in this case it would be the MDI form... BUT it's extremely dodgy when using MDI. More often than not, it will kill your app.
I can't think of any other way.. sorry.
-
Thanks for the suggestion I have had a look at doing what you said but can't seem to get it to work yet. Have you ever had this working at all.
Thanks again
-
Using Midi in an ActiveX Exe is not wise.. you will only end up with more headaches...