BBC BASIC for Windows
« Preventing multiple instances of programs running »

Welcome Guest. Please Login or Register.
Apr 5th, 2018, 9:59pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

If you require a dump of the post on your message board, please come to the support board and request it.


Thank you Conforums members.

BBC BASIC for Windows Resources
Online BBC BASIC for Windows documentation
BBC BASIC for Windows Beginners' Tutorial
BBC BASIC Home Page
BBC BASIC on Rosetta Code
BBC BASIC discussion group
BBC BASIC for Windows Programmers' Reference

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Preventing multiple instances of programs running  (Read 547 times)
g3nrw
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 74
xx Preventing multiple instances of programs running
« Thread started 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
User IP Logged

rtr2
Guest
xx Re: Preventing multiple instances of programs runn
« Reply #1 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.
User IP Logged

g3nrw
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 74
xx Re: Preventing multiple instances of programs runn
« Reply #2 on: Jan 15th, 2015, 7:48pm »

So many places to look and so little time kiss

Thanks Richard.

--
Ian
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls