Dorothy Nelson
April 5th, 1999, 08:55 PM
Hi all,
I have combed and combed MSDN, codeguru, etc. and I've gotten nowhere. But it seems like what I want to do is pretty reasonable...
I have an application where a set of wizards/dialogs will complete an import database task. Since there are many database types, I wish to allow programmers to develop COM objects which will provide dialogs and import functionality according to an API that I have mostly designed already. My initial idea is that the programmer would drop their .ocx containing their API-conformant COM object in a special directory, and at import time I will read all the .ocx files and display an icon for each, then when the icon for a particular .ocx is chosen I will launch the Dialog API method that the .ocx provides.
What I don't know is:
0. Am I missing a smarter way to do this? If not...
1. How do I read/dynamically load the .ocx's from the Application?
2. Can I use smart pointers with the dynamically loaded COM objects?
3. Any other info you'd like to add?
Eternal gratitude and some See's candies for some help here... (help!) I will provide a scaled-down example for the codeguru database once this has been worked out (if it's of interest to codeguru, of course).
thanks in advance...
--Dorothy
I have combed and combed MSDN, codeguru, etc. and I've gotten nowhere. But it seems like what I want to do is pretty reasonable...
I have an application where a set of wizards/dialogs will complete an import database task. Since there are many database types, I wish to allow programmers to develop COM objects which will provide dialogs and import functionality according to an API that I have mostly designed already. My initial idea is that the programmer would drop their .ocx containing their API-conformant COM object in a special directory, and at import time I will read all the .ocx files and display an icon for each, then when the icon for a particular .ocx is chosen I will launch the Dialog API method that the .ocx provides.
What I don't know is:
0. Am I missing a smarter way to do this? If not...
1. How do I read/dynamically load the .ocx's from the Application?
2. Can I use smart pointers with the dynamically loaded COM objects?
3. Any other info you'd like to add?
Eternal gratitude and some See's candies for some help here... (help!) I will provide a scaled-down example for the codeguru database once this has been worked out (if it's of interest to codeguru, of course).
thanks in advance...
--Dorothy