Article View: comp.os.ms-windows.programmer.misc
Article #2931Re: How to avoid multiple instances of a program in NT and 95?
From: Amol Deshpande
Date: Wed, 05 Feb 1997 00:00
Date: Wed, 05 Feb 1997 00:00
20 lines
1495 bytes
1495 bytes
In article <32f6d5ca.86355796@news.ecs.fullerton.edu>, skennedy@ecs.fullerton.edu says... > >On Mon, 03 Feb 97 10:24:56 GMT, Alois.Buecherl@terraSat.de (Alois >Buecherl) wrote: > >A terrible hack could be upon startup immediately create a file in the >%TEMP% directory. If the create function returns a 'File exists' >return, otherwise, continue. > >-Sean Kennedy you might be better of creating a named mutex that the program tries to accquire on startup. -amol -- The opinions expressed in this message are my own personal views and do not reflect the official views of Microsoft Corporation.
Technical Details
Message-ID:
<5dad0r$hsc@news.microsoft.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<5d4eeb$n6u$1@euler.space.net> <32f6d5ca.86355796@news.ecs.fullerton.edu>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: 113dfb,3403ef0501dd273 X-Google-Attributes: gid113dfb,public X-Google-Thread: f6ef4,3403ef0501dd273 X-Google-Attributes: gidf6ef4,public X-Google-Thread: 105df1,3403ef0501dd273 X-Google-Attributes: gid105df1,public From: amold@microsoft.com (Amol Deshpande) Subject: Re: How to avoid multiple instances of a program in NT and 95? Date: 1997/02/05 Message-ID: <5dad0r$hsc@news.microsoft.com> X-Deja-AN: 214639012 references: <5d4eeb$n6u$1@euler.space.net> <32f6d5ca.86355796@news.ecs.fullerton.edu> organization: Microsoft Corporation mime-version: 1.0 reply-to: nospam@my.mbox newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.win32,de.comp.os.ms-windows.programmer,fido.ger.windows.prog