Switching dll's at run-time?

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?
Who is Participating?
sunjConnect With a Mentor Commented:
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.