[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Switching dll's at run-time?

Posted on 1998-10-03
1
Medium Priority
?
170 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 600 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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.

829 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