MSVS 7 C++.NET: Modules for my application?

Hi!

I would like to create an application, that can be updated with a user-defined count of modules. All of this modules exports the same Routine with the same return-values and the same parameters. The application installs new modules automatically at startup and saves the pointer to the exportet methods in an routine-array (LPVOID*).

So I can dynamically load different modules and call each per the components of this array.

My Question: Is there a better or easier way to realize this problem??

Thanks for advance...
LVL 2
ChristopH1987Asked:
Who is Participating?
 
AlexFMCommented:
Create number of Dll each of them exports the same class/function. Client program may load these libraries using LoadLibrary and work with them by generic way. List of Dll names may be dynamic.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.