I have the following situation and can\'t come up with any good solution.
I have a C++ application (app.exe) installed in C:\\ProgFiles\\MyApp. It needs a bunch of
Using the delay load option in conjunction with SetDLLDirectory might work. A delay loaded DLL is dynamically loaded by the system on its first reference. If you are using Visual Studio, you can specify which DLLs are to be delay loaded in the project properties under the Linker Input options. There is a Delay Loaded DLLs field for specifying them. Otherwise, you can specify /DELAYLOAD:mydll.dll in the linker command.