|
Runtime DLL selection
I have a program that compiled with A.lib which will load A.dll. Now I want to use B.dll instead. The functions are the same. I have 2 choices, 1) recompile my app with B.lib or 2) rename B.dll as A.dll and replce the old one.
Is there a way, at runtime without needing to recompile my app, to enumerate all the dll's, and then select which one I would like to use?
Say, next year we have a new C.dll, and we want the old app to be able to use it without renaming it or recompiling.
Thanks.
|