RE: [GD-Windows] Mysterious DLL's
Brought to you by:
vexxed72
From: Jon W. <hp...@mi...> - 2004-09-08 20:30:30
|
There days, MS has pretty much capitulated on the "sharing" aspect. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsetup/htm l/dlldanger1.asp http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsetup/htm l/sidebyside.asp Cheers, / h+ -----Original Message----- From: gam...@li... [mailto:gam...@li...]On Behalf Of Chris Raine Sent: Wednesday, September 08, 2004 1:21 PM To: gam...@li... Subject: [GD-Windows] Mysterious DLL's Coming from a console background and being more of a 3D-programmer than a systems coder, I had a quite confusing moment today. After finishing a large chunk of rendering code I decided to try out my code on other machines before checking in - with the result that every machine without visual studio installed complained about missing dlls (msvcp71.dll and msvcr71.dll in particular). A quick search for files showed that several programs (photoshop, etc) all include their own copies of these and other dlls in their own directories. What is the sense of having a dynamically linked lib if every program provides it's own copy? Back in the old days of my unix/linux background I thought dll meant one image of the instruction code of the lib in memory for multiple programs - by providing several copies of the same library this benefit is destroyed. Another question I had today was if I were to distribute my program, am I to include my own copies of the same libraries as other programs do, or is there any common practice I missed for dealing with these dlls? I hope these questions are not too simple - MSDN had provided me with a wealth of information regarding everything, except answers to my specific questions. many thanks, Chris |