Solved

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

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Focus not getting shifted out of  editbox 2 63
mixing C++ & C# in Vis Studio 2013 7 178
Need some help with Microsoft Visual Studio C++ 2003 5 61
Header of docx file 17 103
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

832 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