PDA

View Full Version : Loading and managing common DLLS



navi1084
22nd July 2010, 12:16
Hi,
My project contains more than two launch-able application which shares common dlls. I am developing the applications in Qt4.4 in VS2008. Since each application has its own folders, i need to copy all the related dlls into same folders.
But i need to keep common dlls in a separate folder and allow all the application to use the dependent dlls from there(Hence i can reduce of my application from duplicate dlls).
Can anyone tell me how can i accomplish this????


Thanks in advance

saa7_go
22nd July 2010, 12:57
Maybe, putting your dlls in C:\WINDOWS\system32? Or adding your dlls directory path to PATH in environment variables.

navi1084
22nd July 2010, 13:02
Yes. That's one way.. But i don't think this solution is encourage-able..

I want solution to be in such away that there will be common folder inside my installation path and common folder contains the shared DLLs. Installation shouldn't modify system files or PATH variables

squidge
22nd July 2010, 13:40
I downloaded "Data Center" for Beagle recently. It's written in Qt4 and has the libraries in a folder called "lib". Perhaps it will give you ideas?

http://www.totalphase.com/download/zip/data-center-windows-v4.20.zip