Solved

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

Posted on 2003-11-14
1
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

626 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