Visual C++ problem

Feb 20, 2013 at 4:13pm
my project .exe file is not run on the computers where Visual C++ is not installed...plz help
Feb 20, 2013 at 4:18pm
did you includ all the neccessary dependancies in your project?
Feb 20, 2013 at 4:25pm
Make sure to compile the project in "Release" mode.
Feb 20, 2013 at 5:13pm
i compiled in "Release" mode but work on some but not on some...
tell me how to include dependancies..
Feb 20, 2013 at 5:15pm
external dependencies are shown in the project...but i don't know about them
Feb 20, 2013 at 5:16pm
i complied in Win32 and release mode....also try the debug mode
msvcp100.dll this file is missing error one other pcs
Last edited on Feb 20, 2013 at 5:17pm
Feb 20, 2013 at 5:45pm
Those computers need to install this: Microsoft Visual C++ 2010 Redistributable Package

found here: http://www.microsoft.com/en-ca/download/details.aspx?id=5555

Eventually you may want to add an installer to your program that includes this package as well.
Last edited on Feb 20, 2013 at 5:45pm
Feb 20, 2013 at 5:50pm
how can i add an installer with my program...???
Feb 20, 2013 at 5:55pm
Visual studio has a tool to start one. But you would have to code a lot of it yourself too.

That's more likely beyond your level for now and I wouldn't worry about it if I were you.

edit:
not the free version of VS.
Last edited on Feb 20, 2013 at 5:56pm
Feb 20, 2013 at 6:46pm
By default the Runtime is dynamically linked. It's not normally recommended but you can statically link it.

Change the following from "Multi-Thread DLL" to "Multi-Threaded"
Properties - C/C++ - Code Generation - Runtime Library
Topic archived. No new replies allowed.