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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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