   Program Runs on Compiling PC, Gets Error on Other PC
  Hi!I am working on a very simple text-based console game that I intend to turn into a simple GUI based game as I learn more. This is my first attempt at Windows programming, and I have the game running on the PC on which it was compiled.  The problem is that when I transfer the game to my notebook computer and try to run it, I get an error message saying that the program is not configured correctly and that reinstalling may help.  Both PC's are running Win XP Home.  The game was compiled with VS 2005 Express Edition.  Does anyone know what I might be doing wrong that the game will not run on my notebook computer?  Do I need to transfer any extra files besides the .exe?  I appreciate any help!  If I need to provide any more information, please let me know.   
  The program probably needs msvcr80.dll and/or msvcp80.dllOpen your exe in dependency walker to see what dlls it depends on.http://www.dependencywalker.com/You either need to include them with the application, or change your compile options to static link. I prefer static linking, as it removes many dependencies by compiling the necessary code in with the executable, leaving you less to worry about.   ;Quote:Original post by DrEvilThe program probably needs msvcr80.dll and/or msvcp80.dllOpen your exe in dependency walker to see what dlls it depends on.http://www.dependencywalker.com/You either need to include them with the application, or change your compile options to static link. I prefer static linking, as it removes many dependencies by compiling the necessary code in with the executable, leaving you less to worry about.Thank you very much, DrEvil.  I changed the options to static link and that worked for my small game.I do have another question, though.  If I wanted to distribute the .dll's with the program, what would I need to do?  Will the executable automatically see that the .dll's are in the folder with it, or do I need to tell the executable that the .dll's will be in the same folder?  How would I go about telling the exe where the dll's will be (if I need to)?  Do I need to include all of the .dll's shown in Dependency Walker (in this case, the 2 mentioned above, ntdll.dll, kernel32.dll, and msvcrt.dll)?  Thanks to anyone who can answer these questions for me!   ;  Had that same problem as well, I found this old link in my favorites.Hope it helps you as much as it helped me. :)http://msdn2.microsoft.com/en-us/library/ms235291.aspxIf you're still having trouble you might have to do some reading here:http://msdn2.microsoft.com/en-us/library/zebw5zk9.aspx   ;  in VS 2005, you want to do 2 things. Static Link, and Disable Manifest Generation.For most people this is the case.it will make that error go away.   