I have a 32 bit application compiled on a Windows 2003 32 bit machine.
When I try to install it on Windows server 2008 or Windows 7, I get an error saying “Unable to start application 0xc0000142”
And, I am using Visual Studio 2008, and I tried setting the configruation ot x64, x86 and mixed platforms, but still not getting any success.
please let me know if I am missingo ut anything obvious or if more information is needed.
And it works on a Server 2003 64 bit without problem.
I was linking vss_uid.lib, psapi.lib and traffic.lib, all windows api libraries, and when compiled, it was packaging psapi.dll, vss.dll and traffic.dll into the program directory. On deleting those files, the program works perfectly now.