Xref: utzoo comp.lang.pascal:7050 comp.os.msdos.programmer:5509 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!dkuug!diku!terra From: terra@diku.dk (Morten Welinder) Newsgroups: comp.lang.pascal,comp.os.msdos.programmer Subject: Re: Writing a device driver in TP Message-ID: <1991Jun6.095415.8760@odin.diku.dk> Date: 6 Jun 91 09:54:15 GMT References: <1991May29.140429.11384@maytag.waterloo.edu> <1991May30.002543.13967@midway.uchicago.edu> Sender: terra@rimfaxe.diku.dk Organization: Department of Computer Science, U of Copenhagen Lines: 25 valley@gsbsun.uchicago.edu (Doug Dougherty) writes: >This has nothing to do with the original post, but... >dmurdoch@watstat.waterloo.edu (Duncan Murdoch) writes: >> - They [.EXE format device drivers] work in MSDOS, but not PCDOS, > because the .EXE loader is part of COMMAND.COM in PCDOS. >really??? ---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ My manual says so too! (MSDOS 3.1 technical ref.) >> - They only work in version 3 or higher. >That's interesting. Does this mean that you can't exec() a .EXE file >directly (from another program) in PC/DOS? (I.e., that you would have >to run it via system() ?) >-- No. It is only a problem when writing device drivers, since they are loaded before the first instance of command.com. Morten 'Sally' Welinder terra@rimfaxe.diku.dk