i got problem at system() function usage

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

This topic contains 2 replies, has 3 voices, and was last updated by  will 11 years, 9 months ago.

  • Author
    Posts
  • #1931

    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
    Member

    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.

You must be logged in to reply to this topic.

0 Shares
Share
+1
Tweet
Share
Stumble