🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #14690

Re: Welke codes in VB6 om te voorkomen dat het programma tegelijkertijd uitgevoerd wordt?

#14690
From: -The Delphi expert-
Date: Sun, 14 Jan 2001 22:54
8 lines
1439 bytes
> > Gebruik een semafoor.  Werkt altijd !

Een Mutex lijkt me toch wel iets makkelijker!
if (CreateMutex(0,TRUE,'myApplicationName') = ERROR_ALREADY_EXISTS) then
  Unload me   ' o.i.d.

> Tss. Heeft ook een nieuwe term geleerd hoor. En hoe zou 'ie dat precies
> moeten doen in VB?
Technical Details
Message-ID: <3A622ED6.37DA4A44@no-spam.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!xfer13.netnews.com!netnews.com!news2.euro.net!nl-news.euro.net!not-for-mail
References: <9351an$f7n$1@news1.skynet.be> <935khv$cuc$1@porthos.nl.uu.net> <3xk66.1676$yz3.69027@iguano.antw.online.be> <MPG.14c8e885b0e9c38d989ae9@news.atnet.at>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 107324,d0015270be29ee92
X-Google-Attributes: gid107324,public
X-Google-Thread: fcea4,d0015270be29ee92
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2001-01-14 14:57:33 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!xfer13.netnews.com!netnews.com!news2.euro.net!nl-news.euro.net!not-for-mail
From: -The Delphi expert- <delphiman@no-spam.com>
Newsgroups: be.comp.programming,nl.comp.programmeren
Subject: Re: Welke codes in VB6 om te voorkomen dat het programma tegelijkertijd 
 uitgevoerd wordt?
Date: 14 Jan 2001 22:54:18 GMT
Organization: EuroNet Internet
Lines: 9
Message-ID: <3A622ED6.37DA4A44@no-spam.com>
References: <9351an$f7n$1@news1.skynet.be> <935khv$cuc$1@porthos.nl.uu.net> <3xk66.1676$yz3.69027@iguano.antw.online.be> <MPG.14c8e885b0e9c38d989ae9@news.atnet.at>
NNTP-Posting-Host: 16dyn74.com21.casema.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.73 [en] (Win95; U)
X-Accept-Language: en