   Visual C++ (Failed in intialize)
  Every program I write has trouble running on certain computers. It runs fine on the ones that I compile it on an a select few others. I tried having people get the Visual C++ 2008 redist, but that doesn't seem to work. When they run the program they get an error that says, "This application failed to initialize properly (0x0150002)." I tried compiling it with an old compiler that I used in the past and that issue is no longer apparent (Dev C++). However, I do no wish to use Dev C++ to compile everything when I am using visual c for coding. Is there anyway to fix this? I tried searching, but found nothing that solved it.   
  i'm not sure at all but there are two things you should check: compile your program as release version not debug and if you use the .net framework this must be installed of course   ;  I've had a similar problem in the past when linking to some external libs.Ran on some machines, not on others. Turned out to be some side by side (SxS) stuff, but we never did get a fix for it. Including the release version of the lib seemed to work.   ;  You should never ship the debug versions of any binary unless you absolutely know what you're doing or absolutely have no choice. Debug binaries typically depend on nonredistributable components that will cause them to fail when deployed to non-developer machines.You can discover what dependencies your application has using depends.exe and then confirm you are (a) not relying on debug versions, (b) shipping all your dependencies.   ;  I was using the EXE from the debug folder would I assume that may be what you mean. How do I get a non debug exe?   ;Quote:Original post by DeFesslerI was using the EXE from the debug folder would I assume that may be what you mean. How do I get a non debug exe?Um, from the release folder? :)   