Number of instances

Need help? - Post here and we will find a solution for you.
Locked
User avatar
G4DWV
Old Man
Posts: 445
Joined: 11 Sep 2014, 16:02

Number of instances

Post by G4DWV »

Hi,

I have been off the air due to ill health, but am slowly stepping into the breach again. I have been updating all of my apps and I have noticed that Log4OM will now open a second instance of itself. Previously, I got a dialogue saying that Log4OM was already running and 'OK' just cleared the box. Now I get a box saying that Log4OM is already running and asking if I want to continue (to open another instance), and 'OK' does that.

Is there a reason for this change?
You've never known happiness until you're married; but by then it is too late.
User avatar
G4POP
Log4OM Alpha Team
Posts: 11592
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Number of instances

Post by G4POP »

Because some users want to run multiple instances of the program simultaneously
73 Terry G4POP
User avatar
IW3HMH
Site Admin
Posts: 2988
Joined: 21 Jan 2013, 14:20
Location: Quarto d'Altino - Venezia (ITA)
Contact:

Re: Number of instances

Post by IW3HMH »

Please note that multiple instances can only work with multiple installations.

E.g. an INSTALLED version and N portable versions in different folders.
The rule is, ever,
MAX 1 instance of the installed application
unlimited (...) instances of portable installations,
1 instance for each executable in a folder.

So it's good to have
c:\log4om_portable_instance1\log4omui.exe running
c:\log4om_portable_instance2\log4omui.exe running
c:\log4om_portable_instance3\log4omui.exe running

but it's NOT correct to have multiple instances running from the same path/executable
Daniele Pistollato - IW3HMH
User avatar
G4DWV
Old Man
Posts: 445
Joined: 11 Sep 2014, 16:02

Re: Number of instances

Post by G4DWV »

IW3HMH wrote:but it's NOT correct to have multiple instances running from the same path/executable
But that is what is happening here. I have one install of Log4OM and can use the same icon to open many instances. I get the dialogue "Application is already running. Continue?". If I click "OK" another instance opens. I have *3* instances open at present.
You've never known happiness until you're married; but by then it is too late.
User avatar
VK7XX
Old Man
Posts: 442
Joined: 24 Jan 2013, 04:07
Location: Planet Earth on Tasmania Island
Contact:

Re: Number of instances

Post by VK7XX »

G4DWV - Guy wrote:
IW3HMH wrote:but it's NOT correct to have multiple instances running from the same path/executable
But that is what is happening here. I have one install of Log4OM and can use the same icon to open many instances. I get the dialogue "Application is already running. Continue?". If I click "OK" another instance opens. I have *3* instances open at present.

I had never tried that, but just did and I also now have multiple instances open (single install). Interesting !! however, it is not something that I would normally do. When the message "Application is already running. Continue?" appears, would not the normal response be to click 'Cancel' ??

John
User avatar
G4DWV
Old Man
Posts: 445
Joined: 11 Sep 2014, 16:02

Re: Number of instances

Post by G4DWV »

John,

I found this out as when I have a problem with WSJT-X and have to re-start it, I have to close down JTAlert too as it has to start first. I also have JTAlert to start Log4OM. I was used to clicking the left button as in previous versions it would just be an OK after letting me know it was already running. I did not notice the message change in the latest version and started another instance.

At least I have found something, confirmed by you good self (mni tnx), that should not be happening. Naturally, I will be clicking 'cancel' from now on.

73 de Guy G4DWV/4X1LT
You've never known happiness until you're married; but by then it is too late.
Locked