🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16127

Re: get command line into bcb

#16127
From: Remy Lebeau (TeamB)
Date: Sat, 31 May 2003 21:27
14 lines
1669 bytes
" Bruce Salzman" <bruce@nospam.org> wrote in message
news:3ed8d01a@newsgroups.borland.com...

> Would the TEvent object from VCL support an equivalent function?

TEvent (which calls CreateEvent() internally) would allow you to create an
instance of a named event, but it would not tell you if the event already
existed previously.  For that you would have to call GetLastError()
separately and check if it returns ERROR_ALREADY_EXISTS.  The same applies
if you were to use CreateMutex() instead of CreateEvent().


Gambit
Technical Details
Message-ID: <3ed91db3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!zeus.visi.com!phobos.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3ed6c57a$1@newsgroups.borland.com> <3ed6c7ad$1@newsgroups.borland.com> <3ed6e5c5$1@newsgroups.borland.com> <3ed8d01a@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,8f3a84c909afa32c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-31 14:32:57 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ed6c57a$1@newsgroups.borland.com> <3ed6c7ad$1@newsgroups.borland.com> <3ed6e5c5$1@newsgroups.borland.com> <3ed8d01a@newsgroups.borland.com>
Subject: Re: get command line into bcb
Date: Sat, 31 May 2003 14:27:57 -0700
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3ed91db3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054416307 207.175.226.26 (31 May 2003 14:25:07 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.75.MISMATCH!feed1.newsreader.com!newsreader.com!zeus.visi.com!phobos.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail