Error spawing:cmd.exe

Discussion in 'C' started by keerth516, Nov 21, 2011.

  1. keerth516

    keerth516 New Member

    Joined:
    Nov 21, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi,
    I wrote a simple c program to read the each character from the text file which is saved in desktop and display in console window. I am using Visual c++(2008).At first i used to get other error when i compiled.NOw am getting error spawing :cmd.exe. I googled a lot and could find some setting in VC++ directories.

    Tools->options->projetcs & soultions->VC++-> then set the three things $(SystemRoot)\System32,$(SystemRoot)\System32\wbem,$(SystemRoot).but still could get ride of the same error.Please suggest me any advice to remove this error....
     
  2. keerth516

    keerth516 New Member

    Joined:
    Nov 21, 2011
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    By mistake i have selceted the X64 in the solution platforms.it should changed to win32 in oder to see the result in console window.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice