VC2005 Runtime Mess

Miscellaneous Forums/General Discussion/VC2005 Runtime Mess

I'm learning VC++2005 Express, and can build something now.

But I can't figure how to make other PC without VCRedist installed to run compiled app, it's somehow a problem for distribuuting apps.

How to config this to make a standalone executable, or it's impossible to do in Express editions?

If you're just making a native program instead of some clr thing, in the project properties, click 'configuration properties|C\C++|Code generation' and set 'runtime library' to something which doesn't have dll at the end.

I thought the express versions couldn't create an exe that didn't rely on the VCRedist?

You can muck about with registry settings in order to persuade C++ Express into creating a native Win32 app, I've got the instructions saved on DVD (together with the Express distribution).

I'd say you would probably be better off with CodeBlocks and the VC2003 freebie compiler package (see the codeblocks website for info).