Article View: comp.windows.ms
Article #13300Re: Try calling your app "DISPLAY.EXE"
From: Bill Turner
Date: Mon, 21 Nov 1988 18:11
Date: Mon, 21 Nov 1988 18:11
13 lines
1006 bytes
1006 bytes
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
Technical Details
Message-ID:
<106580002@hpcvlx.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hp-pcd!hpcvlx!bturnerReferences:
<1281@helios.ee.lbl.gov>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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