954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

MSVCR100.dll is not a valid windows image.

Hey everyone,
I've made a game with SDL and I'm now trying to distribute it. I've included all of the required .DLLs and such but now I get this error whenever I try to run the .exe:

The application or DLL E:\GAME\DEBUG\MSVCR100.dll is not a valid Windows image. please check this against your installation diskette.

How could I fix this problem? Thanks for any help,
Ichigo

ichigo_cool
Junior Poster
101 posts since Jul 2010
Reputation Points: 6
Solved Threads: 4
 

What version of MS-Windows?

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

I'm trying to run the game on a PC running Windows XP.

ichigo_cool
Junior Poster
101 posts since Jul 2010
Reputation Points: 6
Solved Threads: 4
 

And what version of OS did you develop/compile it on? Does it run on other computers with the same version of MS-Windows? Your game may not be backwards compatible if you compiled it on Vista or Windows 7.

Another problem is that you are trying to run the debug version on another machine which may not have the debug version of MS-Windows DLLs. Recompile the program for Release mode and test again.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

When I make an SDL program (compiled under Windows 7), it doesn't require any such DLL even under Windows XP. Ichigo, would you happen to be building your game under Microsoft Visual C++? I know that even terminal programs made with that compiler require that DLL for some reason --- even release builds.

Tumlee
Junior Poster in Training
97 posts since Oct 2011
Reputation Points: 59
Solved Threads: 16
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: