Page 1 of 1

How do I make the program run only once?

Posted: Tue Oct 26, 2021 12:03 am
by Eugene Lutsenko
How do I make the program run only once? That is, if it is already running, so that it gives a message that the program is already running and has not been started a second time? I know how to find out which programs are running and how to interrupt their execution. I do not know how to prevent the restart of an already running program.

Re: How do I make the program run only once?

Posted: Tue Oct 26, 2021 12:24 am
by Tom
Look at "DC_IsAppRunning()".

Re: How do I make the program run only once?

Posted: Tue Oct 26, 2021 1:14 am
by Eugene Lutsenko
Thank you very much, Tom!

Re: How do I make the program run only once?

Posted: Tue Oct 26, 2021 2:56 am
by Tom
You're welcome. :)