Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hp-pcd!hpcvlx!bturner From: bturner@hpcvlx.HP.COM (Bill Turner) Newsgroups: comp.windows.ms Subject: Re: Try calling your app "DISPLAY.EXE" Message-ID: <106580002@hpcvlx.HP.COM> Date: 21 Nov 88 18:11:40 GMT References: <1281@helios.ee.lbl.gov> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 13 No, this isn't in the manuals, but knowing a bit about how Windows works helps. The device drivers for MSW have module names DISPLAY, MOUSE, and KEYBOARD. When a program is run, the module name is kept in memory. If you try to run a program with the same name as a module that has already been loaded, then Windows assumes that the program has already been loaded and just re-executes the in-memory version. This is also why you want to make sure the NAME/LIBRARY line in the .DEF file matches the program name. If it doesn't, Windows gets confused as to whether the program is already loaded or not. --Bill Turner