Solved

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

Posted on 2003-11-14
1
203 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
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…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

705 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

16 Experts available now in Live!

Get 1:1 Help Now