Reader Level:
ARTICLE

Error Result 1 Returned from 'C:\WINDOWS\system32\cmd.exe'

Posted by Nipun Tomar Articles | How do I February 04, 2009
I keep getting the following error message every time I try to run or build a C++ application in Visual Studio 2008.
  • 0
  • 0
  • 20960

Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'

I keep getting the following error message every time I try to run or build a C++ application in Visual Studio 2008:

Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'.

It only comes up with a C++ program. VB seems to be fine.

The problem was in manifest file and here is the solution

Project Properties --> Manifest Tool --> Input and Output

Change value of "Embed Manifest" from YES to NO.

Untitled-1.gif

COMMENT USING