C
cj
I run two instances of an application on a pc at one time. I want them
to assume app A and app B identities.
If I check for a previous instance of the app running when the app
starts I can determine if the app is the first to start or not. If it's
the first it become app A if not app B.
The problem becomes if after both are running app A is shutdown and
restarted. It'll see another instance of the app is running and think
it is app B when if fact the app that was already running is B. How can
I avoid this?
I do not want app B to become app A if app A is shutdown.
to assume app A and app B identities.
If I check for a previous instance of the app running when the app
starts I can determine if the app is the first to start or not. If it's
the first it become app A if not app B.
The problem becomes if after both are running app A is shutdown and
restarted. It'll see another instance of the app is running and think
it is app B when if fact the app that was already running is B. How can
I avoid this?
I do not want app B to become app A if app A is shutdown.