MDI Forms and DLL

MDI Forms and DLL

Question:
Is there a way to host an MDI form from an ActiveX DLL in a Main application’s MDI Parent Form?

Answer:
Although I’ve never tried it, I don’t think so. Only one MDI form is allowed per program and a dll runs in the same process as the host program so it probably won’t work.

An ActiveX control also runs in process so you would have the same issue. You might want to try it in an ActiveX EXE which runs out of process.

devxblackblue

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.

About Our Journalist