Mysterious DLL's

Chris Raine <[email protected]>
Newsgroups gmane.games.devel.windows
Message-ID <[email protected]>
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
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQBBP2m58OXFi7pPaQYRAhVPAKCT3WdNiHxT7X9pgndsZkjY6O/pHwCgj9Pe
EXc1BsV2WUz2gCyKKAvirnw=
=8oMW
-----END PGP SIGNATURE-----
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.