Link to home
Start Free TrialLog in
Avatar of gwhite012597
gwhite012597

asked on

Creating Components at runtime from DLL

I am building an application which has a pagecontrol on the main form. I want to modularize the program, so that each dll is responsible for drawing one or more pages.

I have the framework in place to load each dll and create the number of pages the dll requests.
What do I need to pass to the dll 'DrawPage' procedure to allow it to create controls on the page?? Should the dll create the page itself and return it??

Thanks in advance,
Greg
ASKER CERTIFIED SOLUTION
Avatar of Palmega
Palmega

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gwhite012597
gwhite012597

ASKER

The runtime package support seems to be what was causing the problem. Thanks for the tip.

I have done a bit more work on it, and have decided to stick with the dll. Each module/dll will create a module object (when asked). This object will implement an interface which will detail all the function/procedures the main app will need.

Greg