🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Implementation of run once

#10077
From: Pete Fraser
Date: Thu, 27 May 2004 11:23
16 lines
1648 bytes
try www.bcbdev.com which has an article on this feature.
Rgds Pete

"Daniele Borini" <borini@infinito.it> wrote in message
news:40b5cc3f@newsgroups.borland.com...
> hi,
> i need to check if my app has been already ran, to deny multiple
> executions on the same PC.
> i've thought to search in the active processes list is there's the .exe
> name of my app; if so restore those process's window and exit from the
> second app's instance.
> i'd like to know which API lets me to gather infos on processes.
> I know in VB there's an interesting Process32Next/Process32First which
> return good infos, but i can't find it in BCB...
> 10X
> Daniele
Technical Details
Message-ID: <40b5cfbb$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!news.agarik.com!news.agarik.com!npeer.de.kpn-eurorings.net!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <40b5cc3f@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,91ebf45a6fbd8e57
X-Google-Attributes: gid10cc67,public
From: "Pete Fraser" <pete._no_spam_fraser@frasersoft.nospam.net>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40b5cc3f@newsgroups.borland.com>
Subject: Re: Implementation of run once
Date: Thu, 27 May 2004 12:23:38 +0100
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 195.12.18.1
Message-ID: <40b5cfbb$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1085657019 195.12.18.1 (27 May 2004 04:23:39 -0700)
Path: arc1-ca.pugleaf.net!controlnews3.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nnx.oleane.net!oleane!news.agarik.com!news.agarik.com!npeer.de.kpn-eurorings.net!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail