Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » unable to start correctly(building problem !!)
unable to start correctly [message #1724960] Sun, 28 February 2016 00:17 Go to next message
esraa mohammad is currently offline esraa mohammadFriend
Messages: 2
Registered: February 2016
Junior Member
hi all
I'm on windows 8.1 with eclipse mars.1
I cant build any prog.
first it gave me" binary not found "i googled it and was solved
now gives me" unable to start application correctly (0xc0000142) tried some
methods on you tube but in vain
I'm working on my GP so hope to find quick answer

thanks in advance
Re: unable to start correctly [message #1724982 is a reply to message #1724960] Sun, 28 February 2016 14:34 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
This doesn't look like an Eclipse/CDT problem. 0xc0000142 means you are attempting to use an unsigned/expired dll.
Try this: http://deshack.net/windows-how-to-solve-application-error-0xc0000142-and-0xc0000005/
There are others. Google: "unable to start application correctly (0xc0000142)"
icon7.gif  Re: unable to start correctly [message #1725195 is a reply to message #1724982] Tue, 01 March 2016 14:33 Go to previous messageGo to next message
esraa mohammad is currently offline esraa mohammadFriend
Messages: 2
Registered: February 2016
Junior Member
i followed your link my AppInit tab list was empty !!
the second method i tried already but no thing changed
thanks though .
Re: unable to start correctly [message #1725357 is a reply to message #1725195] Thu, 03 March 2016 00:29 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
As I said earlier, this is not a CDT or Eclipse problem.
from the MSDN site and ntstatus.h : 0xc0000142 means STATUS_DLL_INIT_FAILED or "{DLL Initialization Failed}
The issue is a bit deeper than the signature although that is the usual cause, There are others,
Google: 0xc0000142 MSDN . If you have a MSDN subscription use it or go to stackoverfliow.com for more help

http://blogs.msdn.com/b/winsdk/archive/2015/06/03/what-is-quot-the-application-failed-to-initialize-properly-0xc0000142-quot-error.aspx

Re: unable to start correctly [message #1768761 is a reply to message #1724960] Sun, 23 July 2017 17:42 Go to previous messageGo to next message
Art Kaufmann is currently offline Art KaufmannFriend
Messages: 2
Registered: July 2017
Junior Member
Sorry for the thread necromancy, but I've run into this issue too. The reason I'm coming back to the CDT community is that the error happens *only* when invoking g++ (Cygwin) from inside of Eclipse. It runs just fine in both the Cygwin shell and in the Windows CMD. CDT may not be the cause of the problem, but it's certainly a contributor to the situation. Any suggestions would be appreciated. I've checked all of my DLL signatures and changed the registry variable, which are the top two suggestions for dealing with the error, all to no avail.

Environment: Windows 10; Cygwin G++ 5.4.0; Eclipse Neon 3
Re: unable to start correctly [message #1768873 is a reply to message #1768761] Mon, 24 July 2017 14:22 Go to previous messageGo to next message
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 416
Registered: June 2014
Senior Member
Only g++? Does that mean not gcc? Is it g++ that works fine in Cygwin shell?

Can you try launching Eclipse from within the Cygwin shell. That will force Eclipse to pick up the environment that Cygwin has created. If that works, there will be some work to identify what is different between what your System and Cygwin environment are.
Re: unable to start correctly [message #1768917 is a reply to message #1724960] Tue, 25 July 2017 01:42 Go to previous message
Art Kaufmann is currently offline Art KaufmannFriend
Messages: 2
Registered: July 2017
Junior Member
It's gcc as well as g++, I just mentioned g++ since that was the one that was failing first.

Thanks for the suggestion about running in the Cygwin shell. That seems to have resolved the issue.
Previous Topic:SW4STM32 (Eclipse based) has some C++/C coexistance problems
Next Topic:Problem: "Failed to execute MI command"
Goto Forum:
  


Current Time: Tue Mar 19 07:55:07 GMT 2024

Powered by FUDForum. Page generated in 0.02888 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top