Cant run my stuff on other's people pc's.

Apr 29, 2008 at 6:08pm
When I compile anything with Visual C++ 2008 (9.0) express
and run it everything is fine, but when i try to send the .EXE file to someone
they cant run it on their pc , eveen something simple like "helloworld" thing.
it's show's them error message or just nothing happens...

someone please can tell me what am i doing wrong?
Apr 29, 2008 at 6:40pm
lookup for these files (in a directory called "redist")
msvcm90.dll
msvcp90.dll
msvcr90.dll
Microsoft.V90.CRT.manifest
(copy them to the directory of the target pc which contains your exe or to the system32)

or link them static

or install vcredist on the targetpc
Apr 29, 2008 at 6:48pm
Cant i make something (like any other app out there)
that just works without those stuff?
Apr 29, 2008 at 7:12pm
That is what a static build is. It includes all those files inside the .exe.
Apr 29, 2008 at 7:23pm
how do i do that? i mean, what do you mean static build?
i need to just make a folder with the .EXE and the dll's or there is a way to put those dll's inside the exe?
Last edited on Apr 29, 2008 at 7:25pm
Apr 30, 2008 at 12:28am
You could do a search using VS's internal help files or maybe just Google.
Topic archived. No new replies allowed.