PDA

View Full Version : Including DLLs outside compiled EXE


davidrichens
10-30-2011, 12:15 PM
Is there anyway to include the DLL's outside the compiled EXE?

e.g. C:\Program Files (x86)\WorldViz\Vizard4\bin\osg.dll

Our EXE is getting rather large, and I was hoping we could include the dlls outside the exe rather than compile with them inside.

Thanks,
David

farshizzo
10-31-2011, 10:35 AM
I've never tried this, but you might be able to place the DLLs in an external directory, then launch the published EXE with a modified PATH environment variable that includes this external directory.