Solved

Switching dll's at run-time?

Posted on 1998-10-03
1
160 Views
Last Modified: 2010-04-01
I want to make a call to a library function and have the function run from one dll. Then, switch dll's at run time and the next call for the same function will run from the new dll.
Is that possible? How?
0
Comment
Question by:sephi
1 Comment
 
LVL 1

Accepted Solution

by:
sunj earned 200 total points
ID: 1174322
You may keep the two dll's in different name and in your program, use LoadLibrary() to specify from which dll you want to load the function.

sunj
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

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…
Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
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 additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

743 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

10 Experts available now in Live!

Get 1:1 Help Now