Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

checking for multiple instances of a 4gl program.

Status
Not open for further replies.

edmorris

Programmer
Jan 5, 2005
3
GB
When I run any 4gl program thru a Genero desktop client, and then try to run another instance of the same program, I get the following message and my program and client crash:
"The UserInterface has been destroyed: The container 'myprog' already exists."

my question is how does one detect if a program is already running? that way, I could just make the 2nd instance exit gracefully.

or a better question would be, does 4j's know about this bug?

any help would be appreciated! thanks, -Ed Morris
 
I don't know what a Genero Desktop is ?

If you have a database, you can use a special table to log sessions ?

If you can access Unix Shell, you can run a 'ps' command to find out if there is another instance of the same program running ?

Etc...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top