Facing problem while running exe created using 2005
-
I have converted my exisiting vc6 project to vc8 i.e. visual studio 2005. Now i have created the exe and try to execute that on other pc where VS 2005 is not installed. I tried with linking MFC dlls statically even that is also not working. Following error occurs when i execute the exe "The application failed to initialize properly (0xc0150002). Click on OK to terminate the application." Please help.
-
I have converted my exisiting vc6 project to vc8 i.e. visual studio 2005. Now i have created the exe and try to execute that on other pc where VS 2005 is not installed. I tried with linking MFC dlls statically even that is also not working. Following error occurs when i execute the exe "The application failed to initialize properly (0xc0150002). Click on OK to terminate the application." Please help.
You are not trying to deploy a debug build, are you (or using any DLLs that are debug versions themselves)? Just because you did a static MFC link does not mean that your application will not have any other DLL dependencies. Depends on what else you are using in your project. Peace!
-=- James
Please rate this message - let me know if I helped or not! * * *
If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles -
I have converted my exisiting vc6 project to vc8 i.e. visual studio 2005. Now i have created the exe and try to execute that on other pc where VS 2005 is not installed. I tried with linking MFC dlls statically even that is also not working. Following error occurs when i execute the exe "The application failed to initialize properly (0xc0150002). Click on OK to terminate the application." Please help.
Do you need this?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
-
I have converted my exisiting vc6 project to vc8 i.e. visual studio 2005. Now i have created the exe and try to execute that on other pc where VS 2005 is not installed. I tried with linking MFC dlls statically even that is also not working. Following error occurs when i execute the exe "The application failed to initialize properly (0xc0150002). Click on OK to terminate the application." Please help.
Ravi Jadhav wrote:
Following error occurs when i execute the exe "The application failed to initialize properly (0xc0150002). Click on OK to terminate the application."
actually execuatble compiled with VC8, are also using manifest file to execute. which doesn't present in new computers.. you just download and execute vcredist.exe (URL given by Mr. David Crow)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You
-
Do you need this?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
Thanks for the help. Re-distributable component for 2005 worked