🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #12078

Re: Basic problem with Mutex

#12078
From: Rick Betting
Date: Mon, 25 Nov 2002 11:57
18 lines
1463 bytes
"Philippe Chessa" <pchessa@peaktime.fr> schreef in bericht
news:3de20217$1@newsgroups.borland.com...
> I was wondering what was wrong in the following code: when pressing the
button, after the 1st execution, the mutex is always present

Use CloseHandle instead of ReleaseMutex.

ReleaseMutex releases the ownership op the mutex, but it doesn't delete it.

--

Rick Betting,
Online Software.
rick@ATonlinegroepDOT.nl
(Remove AT and DOT )

I don't like spammers so send your spam to
abuse@iname.com
Technical Details
Message-ID: <3de20f6d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-08!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail
References: <3de20217$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,7525dbf6d7ec72a3
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2002-11-25 04:15:42 PST
From: "Rick Betting" <rick@ATonlinegroepDOT.nl>
Newsgroups: borland.public.delphi.nativeapi
References: <3de20217$1@newsgroups.borland.com>
Subject: Re: Basic problem with Mutex 
Date: Mon, 25 Nov 2002 12:57:37 +0100
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 212.142.7.199
Message-ID: <3de20f6d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1038225261 212.142.7.199 (25 Nov 2002 03:54:21 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-05!sn-xit-01!sn-xit-08!supernews.com!iad-peer.news.verio.net!news.verio.net!news.maxwell.syr.edu!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail