The application error 0x0000142

Just compile my app but at the end there’s an error said " The application was unable to start correctly (0xc0000142).click Ok to close the application "
Does anyone can help?



Perform Google search for that error code.

from the google tells me it is about the compatibility app issue…I’ve try their solution but the problem still appear…

The following may not be the solution, but worth a try…

Try including the Manifest on the app.
Secondly, I had a similar issue where the application icon was set to window xp compatibility.


what does the manifest mean?

thx :joy:

It’s a file that provides information to windows.
In clarion the manifest can be created from the exe app its one of the tabs in the app.

1 Like

Hi, it is late for this answer but I wish to leave a note.
I had this same exception when in a NON data dll I declared globally a local file (so without external) and with NAME attribute being a non threaded variable, external from data dll
If variable for NAME is not external or if it is threaded then it is ok.
Go figure why.

After 4 hours of debugging I found my own post. Nice work ncik

1 Like