Re: [GD-General] Missing DLL: MSVCP70.DLL
Brought to you by:
vexxed72
From: Adrian C. <ce...@ce...> - 2003-06-22 08:19:47
|
You could just link statically to the MSVC libraries. But you'd be way better off just distributing the DLLs too. You just have to have them in the same dir where your executable resides. ----- Original Message ----- From: "Colin Fahey" <cp...@ea...> To: <gam...@li...> Sent: Sunday, June 22, 2003 10:13 AM Subject: [GD-General] Missing DLL: MSVCP70.DLL > > I compiled a plain C++ application using Microsoft Visual > C++ .NET. I sent the executable to someone, and the person > said that the program failed to execute because the DLL > "MSVCP70.DLL" was not found on their system. > > Is there any way within MSVC++ .NET to change settings so that > the dependency on 7.0 generation DLLs is eliminated? > > This project used to be an MSVC++ 6.0 project. The only change > I made after switching to MSVC++ 7.0 was adding plain C++ > source files. I don't use "managed memory" or other new > language extensions. I am not using .NET stuff in any way. > > It would be painful to switch back to MSVC++ 6.0 just because > the project has a hundred source files in a nice directory > hierarchy that is reflected in the source view tree control. > (I had to write a program to generate the XML project file; > I wasn't about to do all the GUI clicking by hand! If I > went back to VC6, I'd have to write another program to > form the project file. Easy, but a bit distracting.) > > I know that people can easily acquire these 7.0 DLLs, but if > someone downloads my program, and it fails to execute due to > missing these DLLs, I have already failed as a programmer. > I refuse to consider shipping DLLs. I don't know how installing > DLLs works these days, but I hope it's more complicated than > copying to C:\Windows\System or C:\winnt\system32 or whatever. > If RealNetworks or Jupiter Co. can clobber DLLs that easily, > then people are really screwed. > > Here are my questions: > > (1) Can I continue to use MSVC++ 7.0 and yet compile executables > that do not require 7.0 generation DLLs? (For example, the > executable could use 6.0 generation DLLs.) > > (2) Okay, if I decide that going back to MSVC++ 6.0 is too > painful, then what is the bast way to allow end-users to > install the required DLLs? > > (I think I may have done this on my Windows 98 machine, > because I tested the program there and it did not complain > about needing the 7.0 DLLs... But I forgot the steps.) > > Perhaps this isn't "DLL Hell" in the strictest sense of the term, > but it does feel a little warm! > > --- Colin > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! > INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php > _______________________________________________ > Gamedevlists-general mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-general > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=557 > > |