🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Is my application running anywhere on the network?

#12569
From: Bob Gonder
Date: Fri, 28 Nov 2003 04:48
17 lines
1794 bytes
Trevor Keegan wrote:

>I am trying to figure out how to see if my application is currently running
>on the network.  It is not a client/server application.
>
>I want to know this so that when I come to do an installation/upgrade I can
>detect that the application is already running and prevent the installation
>from ocurring.

If the application resides on the server, then if your upgrade program
can open the exe file with write access, then it's not in use. (That's
what I do.)

If the application resides on the individual workstations, and you
need to upgrade all of them... I suppose you could have the app open
one file on the server, and keep it open.  Then if the upgrader can
open that file with exclusive access, then no one is running the app.
Technical Details
Message-ID: <2ckdsvctc1418aobrn2aad4e3ats0bqgv5@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3fc6c8f5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b56aac73db98ce03
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-27 21:09:00 PST
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Is my application running anywhere on the network?
Date: Thu, 27 Nov 2003 20:48:35 -0800
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <2ckdsvctc1418aobrn2aad4e3ats0bqgv5@4ax.com>
References: <3fc6c8f5$1@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 209.178.183.214
X-Trace: newsgroups.borland.com 1069994921 209.178.183.214 (27 Nov 2003 20:48:41 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail