tim.deboer@imowa.com.au
October 10th, 2008, 03:37 AM
Hi All
I have an application that works fine when the executables and dlls are all deployed to the one directory. My Sys Admin has asked however that I put my dlls into a lib directory under the app directory (seems fair enough to me!) but....
How do I do this??? The exe doesn't just "discover" the dlls and I can't find anything to tell me how to build the application to make sure it can find them.
I'm sure this is easy to do yet I've searched for ages and now find myself with woe in my heart.
Working directory structure is
[ProgramDir]
- Program.exe
- lib1.dll
- lib2.dll
Non working directory structure is
[ProgramDir]
- Program.exe
- [Lib Dir]
- lib1.dll
- lib2.dll
I have an application that works fine when the executables and dlls are all deployed to the one directory. My Sys Admin has asked however that I put my dlls into a lib directory under the app directory (seems fair enough to me!) but....
How do I do this??? The exe doesn't just "discover" the dlls and I can't find anything to tell me how to build the application to make sure it can find them.
I'm sure this is easy to do yet I've searched for ages and now find myself with woe in my heart.
Working directory structure is
[ProgramDir]
- Program.exe
- lib1.dll
- lib2.dll
Non working directory structure is
[ProgramDir]
- Program.exe
- [Lib Dir]
- lib1.dll
- lib2.dll