c++ - How to load side by side same name DLLs (Visual Studio) -


i have question side-by-side assemblies.

here's situation:

i have executable, app.exe, loads plugins searching plugins directory. app.exe depends on a.dll.

i'm developing plugin depends on older, customized version of a.dll has same name. updating older, customized version newer version impossible, thought might able load 2 a.dll files simultaneously.

here's directory structure:

\bin     app.exe     a.dll (newer version)     \plugins         myplugin.dll 

both versions of a.dll depend on huge number of other dlls, have similar version problems. (i should mention i'm working 64-bit application, if makes difference.)

how set in visual studio such can load both a.dll libraries @ same time, myplugin.dll uses older version, whereas app.exe uses newer version?

since these plugins, load them calling loadlibrary, or similar. in case can pass full path dll in order load it.


Comments

Popular posts from this blog

android - Automated my builds -

how to proxy from https to http with lighttpd -

python - Flask migration error -