Home Forums C Programming i got problem at system() function usage

Viewing 2 reply threads
  • Author
    Posts
    • #1931
      manishsingh0007
      Participant

      I am trying to use system function in my code but when i compile the code it comes out from program and displays a dialog box as”illigal operation”

    • #3179
      msaqib
      Participant

      Wel if you are using win 98 or win 95 then it should work fine. If you are using windows 2000 or XP then the code above will give the error.
      Check to see if this function is returning -1, if yes then means this function have some errors while executing.

    • #3180
      will
      Participant

      It’s because of the improved security in Windows XP or Windows 200. The functions like

      • inp() [/*:1cuthl9v]
      • utp()[/*:1cuthl9v]
      • system();[/*:1cuthl9v]

      does not work on an NT platform.
      There may be some other problems, but  I think using win 98 would resolve the problem.

Viewing 2 reply threads
  • The forum ‘C Programming’ is closed to new topics and replies.