At 07:40 PM 4/29/2008, Dan Goldberg wrote:
I know we have discussed this before but I do not think we found a
solution.
How do we prevent duplicate instances of our compiled applications??
Dan,
RInstanceCount.RBL Plugin is your ticket!
RInstanceCount.rbl Plugin is used to return the number of running
sessions for a given executable file.
Use this R:BASE Plugin to find the exact instances in your compiled
application startup file and manage the load and exit options, as
you wish.
Syntax:
PLUGIN RInstanceCount.rbl vResult|FileName.exe
Where:
. vResult is the variable to return the integer value
. FileName.exe is the actual name and extension of the file,
preceding ith the full path
Notes:
. RInstanceCount.rbl is included with R:BASE Plugin Power Pack
http://www.rbase.com/products/PluginPowerPack/
. Returned variable name and the value must be separated by a "|"
pipe symbol.
Example:
If you need to know the total instances/sessions of RBG76.EXE,
use the following syntax:
PLUGIN RInstanceCount.rbl vRBG76Sessions|RBG76.EXE
The variable vRBG76Sessions will return the INTEGER value of
RBG76.EXE sessions running on that particular workstation/server.
Very Best R:egards,
Razzak.