Hey guys, I have a problem. When I try to run a program that I've compiled with VS 2005 on a different machine that does not have VS, I get this error.

"The application failed to initialize properly (0x0150002). Click on OK to terminate the application."

I've installed the Microsoft Visual C++ 2005 SP1 Redistributable Package on the target machine and have the one dll required to run my program in the program folder but I still get the error.

Any ideas?

Recommended Answers

All 2 Replies

Get the dependency walker from
http://www.dependencywalker.com/
and see whether your program actually needs one or more .dlls that you are not aware of.

We've already had one thread with this exact problem today. Read the responses in that thread.

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.