Announcement

Collapse
No announcement yet.

NTVDM error message

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Dave Navarro
    replied
    As far as I know, the only way to detect Windows NT/2000 is by checking for the OS environment variable.

    There's a KB article about it, but I don't remember which one. If I find it again, I'll post a link.

    --Dave


    ------------------
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Matthew Berg
    replied
    There is a PB/DOS function in the Source Code forum for detecting what version of Windows a DOS box is being run under (or if it is being run in OS/2), although I don't know if it works on Windoze 2000.

    Leave a comment:


  • Lance Edmonds
    replied
    I hit a *similar* error in Win2K today... the cause was continual referencing of ENVIRON$("OS")... if I did it once and set a variable then the problem went away. This issues did not show up in the IDE, only when run directly or from the command-line.

    Note: BIT(PBVHOST,8) does not indicate WIN2000 is running - it works fine in other versions (I've not checked NT4 though). The simpliest way I've found to tell if Win2K is active is to check the environment variable "OS=Windows_NT" with ENVIRON$.

    ------------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>

    Leave a comment:


  • Nigel Thomas
    Guest started a topic NTVDM error message

    NTVDM error message

    Has anyone ever come across the NT 4 message:

    NTVDM Invalid Parameter - Ignore, Exit?

    It's something to do with NT's virtual Dos Machine hence NTVDM.

    I'm getting this error when loading EXE's from a batch file...

    TIA

    -------------
    Nigel Thomas
Working...
X