Article View: borland.public.cppbuilder.nativeapi
Article #9815Re: CommandLine Parameter to own Application...
From: Oren Halvani
Date: Tue, 08 Jun 2004 22:22
Date: Tue, 08 Jun 2004 22:22
16 lines
1755 bytes
1755 bytes
thanks Remy.. "Remy Lebeau (TeamB)" <gambit47.no.spam@no.spam.yahoo.com> schrieb im Newsbeitrag news:40c604bb$1@newsgroups.borland.com... > > "Oren Halvani" <NoSpam@fdtd.com> wrote in message > news:40c573b7@newsgroups.borland.com... > > > The mutex has nothing to do with sending messages across instances of a > program. It is merely a helper to detect whether a program is already > running or not. Using FindWindow() alone will do the same thing, as long as > your window title does not change. The code you already showed earlier > should work fine, just make the changes I suggested, ie:
Technical Details
Message-ID:
<40c63bf9@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<40c49e06@newsgroups.borland.com> <40c4b952$1@newsgroups.borland.com> <40c50020@newsgroups.borland.com> <40c51c6c@newsgroups.borland.com> <40c573b7@newsgroups.borland.com> <40c604bb$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,e90b072bab983bf1 X-Google-Attributes: gid10cc67,public Reply-To: "Oren Halvani" <NoSpam@fdtd.com> From: "Oren Halvani" <NoSpam@fdtd.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <40c49e06@newsgroups.borland.com> <40c4b952$1@newsgroups.borland.com> <40c50020@newsgroups.borland.com> <40c51c6c@newsgroups.borland.com> <40c573b7@newsgroups.borland.com> <40c604bb$1@newsgroups.borland.com> Subject: Re: CommandLine Parameter to own Application... Date: Wed, 9 Jun 2004 00:22:59 +0200 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 217.234.87.217 Message-ID: <40c63bf9@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1086733305 217.234.87.217 (8 Jun 2004 15:21:45 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail