BBC BASIC for Windows
IDE and Compiler >> Compiler >> Preventing multiple instances of programs running
http://bb4w.conforums.com/index.cgi?board=compiler&action=display&num=1421344359

Preventing multiple instances of programs running
Post by g3nrw on Jan 15th, 2015, 4:52pm

I have written a BB4W program where only one instance of the .exe can be allowed to run at any time. Is there any way to add a compiler directive or flag that allows only one active instance of the .exe?

--
Ian

Re: Preventing multiple instances of programs runn
Post by rtr2 on Jan 15th, 2015, 5:34pm

on Jan 15th, 2015, 4:52pm, g3nrw wrote:
I have written a BB4W program where only one instance of the .exe can be allowed to run at any time.

This is documented on the Wiki, I'm surprised you didn't find it (if you search for 'instance' it's the very first hit!):

http://bb4w.wikispaces.com/Detecting+a+second+instance+of+a+program

Richard.
Re: Preventing multiple instances of programs runn
Post by g3nrw on Jan 15th, 2015, 7:48pm

So many places to look and so little time kiss

Thanks Richard.

--
Ian