Jump to content
  • Advertisement
Sign in to follow this  
samavan

[Visual C++ 2008 Express] Compiled *.exe ok on my workstation but error on laptop...

This topic is 3163 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 am doing some OpenGl Tutorial to understand better polygon construction in a 3D engine. Then I started from the beginning with : - http://www.mrmoen.com/2008/03/30/opengl-with-visual-c-express-edition/ - http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=02 - http://www.falloutsoftware.com/tutorials/gl/gl3.htm Compile is ok and *.exe work well on my workstation. But when I drop the *.exe on my laptop, it will create the following message :
Quote:
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail.
I installed the 2 following files on my laptop : - Microsoft Visual C++2005 x 86 9.0 - Microsoft Visual C++2008 But nothing change... Friends tried it and same error again... Does someone know why? Does the compiler do not add all dll file in the compiled *.exe? Really thank you for your help!...

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by samavan
Does someone know why?
Does the compiler do not add all dll file in the compiled *.exe?


Well, Microsoft doesn't like you distributing their debug versions of the C runtime library. Try building your .exe in "Release" mode and sending that to your laptop.

Share this post


Link to post
Share on other sites
Quote:
Original post by _fastcall
Well, Microsoft doesn't like you distributing their debug versions of the C runtime library. Try building your .exe in "Release" mode and sending that to your laptop.


Wow, good one! really thank you!

Share this post


Link to post
Share on other sites
Check your update list, I wouldn't be surprised if the computer it's working on has it the latest ATL patch installed for VS...

I have the same situation, on my main computer I have it, on my laptop it is a bare install, no patches. This way I can still release stuff without requiring a 239 meg Windows patch.

You can search Microsoft.com for the KB article about side by side configuration errors.

Share this post


Link to post
Share on other sites
As well as building in Release mode, you'll need the relevant C/C++ runtime library installed on the target machine. This should match the version of Visual C++ 2008 you're using; this one for 2008 and this one for 2008 SP1. Bundling the runtime installer into your own installer makes life easier for the end-user.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!