Jump to content
  • Advertisement
Sign in to follow this  
Spanozo

Visual C++ 2008 exp Package Requirements?!

This topic is 3705 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I recenlty started making Directx games, and I heard that visual C++ has the best compatability with the newer versions of DirectX so i decided to download the express version 2008(newer is better). Everything worked fine, everything ran, Visual C++ found all the libraries, and i didn't require any .dlls but when I sent the published build to other computers and tried to run it, an executable error would pop up and it would say something along the lines of "improper application startup, please reinstall application and try again". I installed the newest DirectX update on the computer, but that didn't help so i installed Microsoft visual C++ redistributable package (86x) and that caused it to work. But my question is Why? Why does it require Microsft packages when other, more complex, games don't. Is it Visual C++ 2008 Express that is causing the problems, and if so, what is a more compatible complier?

Share this post


Link to post
Share on other sites
Advertisement
This is normal behaviour for MS apps written in C++.
If you ever install the latest ATI drivers you'll see during the setup if you do a custom install the vs2005 c++ runtime files being installed for example.

[Edited by - daviangel on May 28, 2008 3:47:54 PM]

Share this post


Link to post
Share on other sites
Some programs will statically link the library, so they won't need to be included.

Some programs will include the required libraries in the same location as the executable, if permitted by their license.

If you do neither of those, then you will need to use the redistributable package.



This is nothing new. It has been the case for almost 15 years now in Windows, and longer than that on other OSs.

Share this post


Link to post
Share on other sites
Most commercial games include the appropriate runtime libraries in their own installers. Chances are they detect that you already have older versions of the runtimes installed so you never even see those running, but since MSVC 2008 is the newest your users most likely will not have it.

Is this a big deal? You've had to distribute the runtimes with all applications created with MSVC since.. always, unless, as mentioned, you statically link.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!