devxlogo

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.

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  Five Early Architecture Decisions That Quietly Get Expensive

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.