Article View: comp.os.ms-windows.programmer.misc
Article #2936Re: How to avoid multiple instances of a program in NT and 95?
From: Raymond Chen
Date: Thu, 06 Feb 1997 00:00
Date: Thu, 06 Feb 1997 00:00
18 lines
1619 bytes
1619 bytes
On Wed, 05 Feb 1997 13:38:05 GMT, h.eichmann@mbox.iqo.uni-hannover.de (Heiner Eichmann) wrote: >What happens if the program crashes before it can release the event? Windows automatically closes unclosed HANDLE objects when the application exits (either normally or abnormally). >It is improbably also possible that a different program uses the same >name for an event. If you use a GUID, then you can be pretty sure that no other program is using the same name. -- (My return address is intentionally invalid; delete ".---" to get my real address. My responses are not to be considered official technical support or advice.)
Technical Details
Message-ID:
<32fa6adf.38668620@157.55.96.156>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<5d4eeb$n6u$1@euler.space.net> <aFwHpCAU3e9yEwa8@ormesci.demon.co.uk> <32f7e6e5.422962@157.55.96.156> <5da29d$bs$2@newsserver.rrzn.uni-hannover.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1124cf,3403ef0501dd273 X-Google-Attributes: gid1124cf,public X-Google-Thread: f6ef4,3403ef0501dd273 X-Google-Attributes: gidf6ef4,public X-Google-Thread: 113dfb,3403ef0501dd273 X-Google-Attributes: gid113dfb,public X-Google-Thread: 105df1,3403ef0501dd273 X-Google-Attributes: gid105df1,public From: raymondc@microsoft.com.--- (Raymond Chen) Subject: Re: How to avoid multiple instances of a program in NT and 95? Date: 1997/02/06 Message-ID: <32fa6adf.38668620@157.55.96.156> X-Deja-AN: 214783385 references: <5d4eeb$n6u$1@euler.space.net> <aFwHpCAU3e9yEwa8@ormesci.demon.co.uk> <32f7e6e5.422962@157.55.96.156> <5da29d$bs$2@newsserver.rrzn.uni-hannover.de> content-type: text/plain; charset=us-ascii organization: Microsoft Corporation mime-version: 1.0 newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.win32,de.comp.os.ms-windows.programmer,fido.ger.windows.prog