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

Started by
3 comments, last by benryves 14 years ago
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!...
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.
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!
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.

******************************************************************************************
Youtube Channel

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.

[Website] [+++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++]

This topic is closed to new replies.

Advertisement