How to tell if an application is already running on a workstation?

How to tell if an application is already running on a workstation?

Post by Tom - Leyl » Thu, 31 Mar 1994 14:42:00

>We've got a problem with a multiuser FoxPro Win application running
>on a novell network where users are inadvertantly starting two sessions
>of the application and the one in the background is* up other users
>with a rlock().


I don't see why starting two sessions should _cause_ an rlock() problem.

Perhaps you mean that the first copy is simply forgotten about ?  They have
a locked record that stays locked for most of the day ?

In that case you would probably be better off with a "time_out" function
rather than preventing two sessions.  If you prevent a second session of
the same .EXE you do not prevent simply forgetting that they have the first
copy still running.  If they start they start a second copy you can warn
them but meanwhile if they don't the rlock() remains in effect all day
long anyway.

They may have a legitimate reason for needing a second copy running or
perhaps you need it from time to time but suddenly you're stopping all the
legitimate users from doing so because a couple of people are screwing up.

The principle of righteous development dictates that he who screws up is
the person who shall suffer from the*up, not everybody who happens
to be on the same network as the screwer upper.

tom (book is almost out but damn they are slow...)


1. status 101 / workstation engine and workstation application running on WinNT server


I have an application, which runs very well on Win 95 / Win 98 / Win NT workstation / Win2000 workstation with a P.SQL (7.0) workstation engine.

Now a customer has changed the computer to a 2-processor machine with 256 MB RAM running Win NT _SERVER_!

On this computer we get (at file create) btrieve error 101 (not enough memory).
We know, that our application an P.SQL runs on Win98 computers with only 64MB, on WinNT workstation computers with 128MB without status 101.
An older version of our application ran on a PC with Win95 and only 32MB without status 101.

Has anyone heard about problems, running P.SQL workstation engines running on WIN-NT server?


2. Problem in adding record in an ODBC-connected Access database

3. If application already running

4. Changing path to /tmp/.s.PGSQL.5432 file and the .lock file

5. Is an given application already running

6. dBase III+ (FoxBase) book recommendation wanted

7. Delphi 1 C/S Application Runs Slow On NT Workstation

8. New Oracle 7.1 Features

9. Does SQL Workstation run on NT Workstation?

10. Error tells me to Declare variable when it is already declared

11. HELP: How can I tell if a field already exists

12. Installing MSDE 2000 on a Win2000 Workstation with MSDE 1.0 (SQL Server 7) already installed

13. install 6.5 eval on pc with workstation already loaded