RE: Mysterious DLL's

"Jon Watte" <[email protected]>
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
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: [email protected]
[mailto:[email protected]]On Behalf Of
Chris Raine
Sent: Wednesday, September 08, 2004 1:21 PM
To: [email protected]
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






-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=555
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.