Skip to main content
GameDev.net gamedev.net
🔒 Locked

Dependency from .NET framework

Started by razorjack Apr 13, 2007 at 11:27 AM 1 replies 550+ views
Original Post
razorjack
razorjack
Hello. After I've converted my projects for .NET 2005 then it seems to bind MSVCR80.DLL to all my builded projects. It's bad because some older operation systems aren't able to execute my binaries. Is there any possibility to prevent .NET 2005 from binding this .NET madness. Visual .NET 2003 haven't done such things. Thank you in advance.
My spacesim project blog:http://www.simerge.com/
TheUnbeliever
TheUnbeliever
That's not anything at all to do with .NET. It's the necessary runtime for MSVC8. I don't think you can stop it unless you have some older version of the libraries to link against.
[TheUnbeliever]
daviangel
daviangel
It's supposed to work that way due to "DLL HELL" in the past, anyone remember PIA?:
"The shared CRT DLL has been distributed by Microsoft in the past as a shared system component. This may cause problems when you run applications that are linked to a different version of the CRT on computers that do not have the correct versions of the CRT DLL installed. This is commonly referred to as the "DLL Conflict" problem.

To address this issue, the CRT DLL is no longer considered a system file, therefore, distribute the CRT DLL with any application that relies on it. Because it is no longer a system component, install it in your applications Program Files directory with other application-specific code. This prevents your application from using other versions of the CRT library that may be installed on the system paths.

Visual C++ 2005 or Visual C++ .NET installs the CRT DLL in the System32 directory on a development system. This is installed as a convenience for the developer. Otherwise, all projects that are built with Visual C++ 2005 or Visual C++ .NET that link with the shared CRT require a copy of the DLL in the build directory for debugging and execution.

When you distribute applications that require the Shared CRT library in the CRT DLL, we recommend that you use the VC_CRT.msm merge module that is included with Visual C++ 2005 or with Visual C++ .NET instead of directly distributing the DLL file.

You can go back to older version of VC++ if you don't like this behaviour.
But,then you have to put up with all the bugs,nonconformance,etc of old compiler.
[size="2"]Don't talk about writing games, don't write design docs, don't spend your time on web boards. Sit in your house write 20 games when you complete them you will either want to do it the rest of your life or not * Andre Lamothe

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.