Search found 1374 matches

by jj2007
May 31, 2020 12:24
Forum: General
Topic: Start a program just one time
Replies: 22
Views: 421

Re: Start a program just one time

UEZ wrote:The system closes the handle automatically when the process terminates. The semaphore object is destroyed when its last handle has been closed.
Thanks, that makes the difference: atoms are one of the rare objects that don't get destroyed by ExitProcess. Well done, SARG!
by jj2007
May 31, 2020 11:36
Forum: Community Discussion
Topic: Kogaion-forum (RqWork7)
Replies: 9
Views: 293

Re: Kogaion-forum (RqWork7)

Now it works, but it looks utterly confused. What exactly is the advantage of using this "IDE"?
by jj2007
May 31, 2020 9:45
Forum: Projects
Topic: new rad-ide for FreeBasic, object oriented one
Replies: 2
Views: 41

Re: new rad-ide for FreeBasic, object oriented one

FIVE posts advertising the same thing - do you find it funny to spam the forum?

Besides, it doesn't even work: "The code execution cannot proceed because rtl70.bpl was not found"
by jj2007
May 31, 2020 9:45
Forum: Projects
Topic: Kogaion, new rad-ide for freebasic
Replies: 2
Views: 47

Re: Kogaion, new rad-ide for freebasic

FIVE posts advertising the same thing - do you find it funny to spam the forum?

Besides, it doesn't even work: "The code execution cannot proceed because rtl70.bpl was not found"
by jj2007
May 31, 2020 9:44
Forum: Projects
Topic: new rad-ide for FreeBasic, object oriented one
Replies: 5
Views: 82

Re: new rad-ide for FreeBasic, object oriented one

FIVE posts advertising the same thing - do you find it funny to spam the forum?

Besides, it doesn't even work: "The code execution cannot proceed because rtl70.bpl was not found"
by jj2007
May 31, 2020 9:42
Forum: Community Discussion
Topic: Kogaion , new rad-ide for freebasic (RqWork7)
Replies: 2
Views: 60

Re: Kogaion , new rad-ide for freebasic (RqWork7)

Doesn't work: The code execution cannot proceed because rtl70.bpl was not found
by jj2007
May 31, 2020 9:36
Forum: Community Discussion
Topic: Kogaion-forum (RqWork7)
Replies: 9
Views: 293

Re: Kogaion-forum (RqWork7)

FIVE posts advertising the same thing - do you find it funny to spam the forum?

Besides, it doesn't even work: "The code execution cannot proceed because rtl70.bpl was not found"
by jj2007
May 30, 2020 21:40
Forum: Community Discussion
Topic: GW-BASIC is open source now
Replies: 12
Views: 594

Re: GW-BASIC is open source now

kankouhin7937 wrote:Even VB6 is open source
Are you sure?
by jj2007
May 30, 2020 21:37
Forum: General
Topic: Start a program just one time
Replies: 22
Views: 421

Re: Start a program just one time

SARG wrote:
jj2007 wrote:@Sarg: without ReleaseSemaphore, you risk having a different functionality
Just curious what risk ?
Here the semaphore is no more than a flag (not a counter) and it's destroyed when exiting properly the program or if there is a crash.
Can you post a complete example then?
by jj2007
May 30, 2020 13:18
Forum: General
Topic: Start a program just one time
Replies: 22
Views: 421

Re: Start a program just one time

deltarho[1859] wrote:I did not want to be told of a successful start so commented the second MessageBox
As UEZ noted, the MessageBox serves only to simulate the running program. When it finishes, the atom must be deleted.
by jj2007
May 30, 2020 8:36
Forum: General
Topic: Start a program just one time
Replies: 22
Views: 421

Re: Start a program just one time

Here is the Assembly version: Behave yourself, Jochen, the BASIC version is just fine. http://deltarho.org.uk/Downloads/wink.png Hey, young man, my last version looks more BASIC than yours http://deltarho.org.uk/Downloads/wink.png @Sarg: without ReleaseSemaphore, you risk having a different functio...
by jj2007
May 30, 2020 0:05
Forum: General
Topic: Start a program just one time
Replies: 22
Views: 421

Re: Start a program just one time

You are very kind, folks ;-) Here is the Assembly version: include \masm32\MasmBasic\MasmBasic.inc Init Let esi=CL$(0) ; use the executable name as a unique string .if rv(GlobalFindAtom, esi) MsgBox 0, Cat$(esi+" is already running"), "Sorry:", MB_OK or MB_TOPMOST .else push rv(G...
by jj2007
May 29, 2020 22:28
Forum: General
Topic: Start a program just one time
Replies: 22
Views: 421

Re: Start a program just one time

#include "Windows.bi" Dim ItsMe as string=Command(0) If GlobalFindAtom(ItsMe) Then Messagebox Null, ItsMe+" is already running", "Sorry:", MB_IconWarning Or MB_Topmost else Dim IsRunning as short=GlobalAddAtom(ItsMe) Messagebox Null, ItsMe+" successfully started&q...
by jj2007
May 29, 2020 1:47
Forum: Community Discussion
Topic: Kogaion-forum (RqWork7)
Replies: 9
Views: 293

Re: Kogaion-forum (RqWork7)

What is the purpose of your post, nastasa: ridicule an empty forum?
by jj2007
May 28, 2020 12:07
Forum: Tips and Tricks
Topic: Windows API: Open Dialog to Browse for a File
Replies: 26
Views: 8558

Re: Windows API: Open Dialog to Browse for a File

Just kidding - I'm not a Windows XP user any more. Unless I need to run an old 16-bit program in my VM for which I have the XP license only, of course. My main OS is Win7-64, my kids are using Win10 and I see lots of good reasons to stay away from that crap.

Go to advanced search