PDA

View Full Version : Path for a dll , is it possible ?



tonnot
9th December 2010, 10:41
I have several apps using one dll .
Any change to a dll forces me to copy the dll to every path of every app that use this dll.
I think that I would use a .bat to make this copy, but Is there any way to say QTCreator, 'Hey, this dll is located at .... ' at least at debug mode.
Thanks

squidge
9th December 2010, 10:47
It's nothing to do with QtCreator. The OS searches for DLLs in the directories specified by the PATH environment variable.

Simply put your DLL in a directory specified by this variable and you only need one copy of it.

tonnot
9th December 2010, 13:41
mmm
Ok, so I can create my_dll folder, add it to path and it is ok , isn't ?

squidge
9th December 2010, 16:07
Yes, thats all there is to it.