NTVDM CPU illegal instruction, application won't execute

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • justduick
    New Member
    • Jul 2008
    • 5

    NTVDM CPU illegal instruction, application won't execute

    I have developed a visual c# application which executes properly on my computer and others that have visual studio installed. however when attempting to run it on a computer without visual studio i receive the error message "the NTVDM CPU has encountered an illegal instruction" in a window titled "16-bit MS-DOS Subsystem". Does anyone know why this is happening or what i can do to get my application to execute?

    thanks.
  • kadghar
    Recognized Expert Top Contributor
    • Apr 2007
    • 1302

    #2
    Originally posted by justduick
    I have developed a visual c# application which executes properly on my computer and others that have visual studio installed. however when attempting to run it on a computer without visual studio i receive the error message "the NTVDM CPU has encountered an illegal instruction" in a window titled "16-bit MS-DOS Subsystem". Does anyone know why this is happening or what i can do to get my application to execute?

    thanks.
    I think this is in the wrong forum, anyway, make sure you did release your project, not just built it.

    And check if this other computer can run this applications. most VS apps wont run under Win 98 1st or earlier unless you create the instalation wizard (in your VS) and istall them (in the oldie pc). For some further VS versions, they might have the same trouble with other Windows releases.

    Anyway, im not pretty sure about this, but for what the error message says, 16-bit MS-DOS subsystem is for win 95, so you should create the instalation wizard instead of just Building the project and copy-paste the executable.

    HTH

    Comment

    Working...