Solved

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

Posted on 2003-11-14
1
206 Views
Last Modified: 2012-05-04
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...
0
Comment
Question by:ChristopH1987
1 Comment
 
LVL 48

Accepted Solution

by:
AlexFM earned 250 total points
ID: 9747929
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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now