Hi all,
i'm wondering if it is possible (and how) to dynamically load pieces of my program.
I'd like to create different parts of my program and compile them as dll's. Then my main program will load the dll's that it finds in a folder.
For example,
in my .\Plugins folder I have the following:
Orders.dll
Inventory.dll
Customers.dll
(each of them is part of a GUI - with interfaces to access a Panel, MenuItem, and TreeNode)
when my program loads, it will look in .\Plugins and load each of the dlls it finds (each one will have the same entry format)
on an update i add Ledger.dll to the .\Plugins folder, and the next time the program runs, it loads Ledger.dll also.
can this be done? or do i need to hard-code the declarations?
thanks!
J
Start Free Trial