The application was unable to start correctly (0xc0000142)
-
Friday, November 09, 2012 7:30 PM
I have custom built VC++ application with following settings ( built using Visual Studio 2008 SP1 for x64 platform)
MFC in shared DLL mode, Static link to ATL.
On one particular system, the binary fails to run with following error message in the dialogue box
"The application was unable to start correctly (0xc0000142)" without any additional information but the same binary is able to run on another identical system configuration without any problem.
My question is, the system is in production environment, how can i debug this issue? what are the possible causes?
All Replies
-
Saturday, November 10, 2012 5:03 AM
Be sure all pre-req are there. Use dependancy walker to find any dependancy.
If you do a debug's build does that run correctly ? If yes, then it's surelly a stack corruption issue. (vc protect the memory zone in a debug's build)
MCP | MCTS 70-236: Exchange Server 2007, Configuring
Want to follow me ?
| Blog:
http://www.jabea.net | http://blogs.technet.com/b/wikininjas/- Proposed As Answer by K_evin ZhuMicrosoft Contingent Staff, Moderator Monday, November 12, 2012 5:25 AM
- Marked As Answer by K_evin ZhuMicrosoft Contingent Staff, Moderator Friday, November 16, 2012 1:46 AM
-
Monday, November 12, 2012 5:25 AMModerator
Hi,
Just checking to see how is the troubleshooting going. Please feel free to let us know if you would like further assistance.
Regards
KevinIf you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
-
Monday, November 12, 2012 7:02 AM
Thanks for the replies. It is not a debug build, released binary in a production environment.
since it is a production environment, I will have to request permission to run dependency walker on the system.
surprisingly same binary is running without any issues on another identical system and matching all the software and OS patches.
Raghavendra Shet
- Marked As Answer by K_evin ZhuMicrosoft Contingent Staff, Moderator Friday, November 16, 2012 1:46 AM

