Member Avatar for Fjolsvidr

I just wrote a little console app using the Visual C++ 2010 Express. But it doesn't run on other computers. I did a little research but it says I have to install redistributable package on the other pc, isn't there any other way to run the simple application?

Recommended Answers

All 2 Replies

The first thing I would check is what configuration you compiled it as. An application compiled with "Debug" configuration will not run on another computer unless it has visual studio installed. You have to compile with the "Release" configuration.

The different configurations use different libraries and resources. Most machines don't have the libraries required to execute a "Debug" version.

Member Avatar for Fjolsvidr

I compiled it with the Release configuration. Maybe I did it wrong, can you explain the way to do it?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.