I have been fighting with some issues Ive encountered in receiving the "Application failed to initialize properly (0xc0150002)" error when running my release build executable on non-development (ie, no VS) PCs. The executable is designed to be deployed as a stand-alone executable (no MSI, installer, "setup"), makes use of some open-source third party libraries (OpenCV), and is being developed using VS 2008 Pro. <br/> <br/> First of all, I should point out that I have already searched these forums, Google, etc and have tried several common solutions such as "use /MT", "install vc_redist** on the target PC", and "statically link MFC". These do not solve my problem. <br/> <br/> Of course, the release build executable runs perfectly fine on the development PC, as well as another which used to have VS 2008 Express on it (though VS had been uninstalled before I tried to run my executable). However, on other Windows PCs which I have tested my code on (including a fresh XP Pro SP3 install with no changes other than installing ALL available updates -- including the optional ones), I receive this "Application failed to initialize error". <br/> <br/> Everything I find on this seems to have to do with some type of dependency issue. My first question is does anyone actually know what the error code 0xc0150002 actually means? Does this refer to a specific dependency that I have somehow missed or is there no real significance to the error code? <br/> <br/> My second question is, of course, how do I resolve this issue? <br/> <br/> Any help is greatly appreciated!
View the full article
View the full article