Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Guys,

can Anybody help me out. I am getting below error on XP systems for MyApplication.exe.

<pre lang="vb">Application popup: MyApplication.exe - Application Error : The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.</pre>

However things are fine at windows 7 32 bit.I have set target version as
XML
#define _WIN32_WINNT 0x0501 so that it could support on XP.

My XP OS has SP3 version on it.

Can anybody give some idea as to why it is failing?
Regards,
Joy
Posted
Comments
Richard MacCutchan 30-Oct-14 7:39am    
Without seeing the area of code that causes the failure it's impossible to guess. Have you searched for that error code to see if it gives any more details?
barneyman 31-Oct-14 0:06am    
run a depends.exe over it, you've probably got a missing DLL - if you're missing some .net assemblies it gets harder, run something like procmon and see what it fails to find

1 solution

Googling the error code helps. 0xc0000142.

With which version of Visual Studio you are working? Somehow isnt XP supported. MS has ended its support and newer VS are building incompatible builds.

My tip is that some dlls are missing. => Using depends is a good tip. And install the runtime of the VS.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900