Search found 9809 matches

by fxm
Oct 01, 2020 8:59
Forum: Projects
Topic: Eschecs 1.2.1 (UCI chess GUI)
Replies: 401
Views: 62349

Re: Eschecs 1.2.1 (UCI chess GUI)

Otherwise another classic trap (I saw you are using [ScreenLock ... ScreenUnlock] and sGUI which maybe uses screen locking?) All input keywords (like for keyboard, mouse) cannot be safely run when the screen is locked. So a such keyword must be outside of any [Screenlock...Screenunlock] block: - ou...
by fxm
Oct 01, 2020 7:45
Forum: Community Discussion
Topic: HTTP ERROR 500
Replies: 4
Views: 115

Re: HTTP ERROR 500

D.J.Peters wrote:
fxm wrote:Sometimes, I get a blank page when I send a post (instead of the refreshing of the page), but on the other hand the message has well been sent.
Same here but not often.

Joshy

It now seems more repetitive when I send a new message.
by fxm
Oct 01, 2020 7:43
Forum: Projects
Topic: Eschecs 1.2.1 (UCI chess GUI)
Replies: 401
Views: 62349

Re: Eschecs 1.2.1 (UCI chess GUI)

In addition to using mutexes (that I saw in your snippets), do you also use conditional variables (with CondCreate, ...) ?
by fxm
Sep 30, 2020 21:53
Forum: Community Discussion
Topic: immutable thread titles?
Replies: 20
Views: 334

Re: immutable thread titles?

In my initial post, I never asked to modify anything in the management of titles by the forum.
I only advised users not to edit the titles of threads unless they are their original authors.
by fxm
Sep 30, 2020 21:52
Forum: Community Discussion
Topic: immutable thread titles?
Replies: 20
Views: 334

Re: immutable thread titles?

In my initial post, I never asked to modify anything in the management of titles by the forum.
I only advised users not to edit the titles of threads unless they are their original authors.
by fxm
Sep 30, 2020 20:33
Forum: Projects
Topic: Eschecs 1.2.1 (UCI chess GUI)
Replies: 401
Views: 62349

Re: Eschecs 1.2.1 (UCI chess GUI)

See Programmer's Guide / Multi-Threading / Critical Sections FAQ / 10. Is it better to take precautions when using the keyword 'Sleep' in threads?
by fxm
Sep 30, 2020 20:20
Forum: Community Discussion
Topic: HTTP ERROR 500
Replies: 4
Views: 115

Re: HTTP ERROR 500

Sometimes, I get a blank page when I send a post (instead of the refreshing of the page), but on the other hand the message has well been sent.
by fxm
Sep 30, 2020 20:10
Forum: Community Discussion
Topic: immutable thread titles?
Replies: 20
Views: 334

Re: immutable thread titles?

jj2007, there is no need to provoke BasicCoder2 by changing the title !
The content of your post is enough to express your opinion.
by fxm
Sep 30, 2020 19:32
Forum: Projects
Topic: Eschecs 1.2.1 (UCI chess GUI)
Replies: 401
Views: 62349

Re: Eschecs 1.2.1 (UCI chess GUI)

I don't have enough code to check for thread safety, but can you try replacing 'Sleep(20)' with 'Sleep(20, 1)' , and do this the same ( 'Sleep(x, 1)' instead of 'Sleep(x)'or [tt]'Sleep(x, 0)' [/tt]) everywhere where ther...
by fxm
Sep 30, 2020 11:34
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 211
Views: 17705

Re: FreeBASIC 1.08 Development

When you post a reply from an empty post (command: Post Reply ), its title is always copied from the original thread title (the title of the first post), but when you reply by quoting an existing post (button: "" ), the title is copied from that of this quoted post. This feature allows you...
by fxm
Sep 30, 2020 8:46
Forum: Community Discussion
Topic: FreeBASIC 1.08 Development
Replies: 211
Views: 17705

Re: FreeBASIC 1.08 Development

Out of respect with the author of the first post, and therefore the creator of the thread, I am against changing its title, so I am just putting the original title back here.
by fxm
Sep 30, 2020 4:57
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 462
Views: 78384

Re: Where can I get a Recent-Git-Build of FreeBASIC?

OK this morning. Thanks.
by fxm
Sep 29, 2020 4:42
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 462
Views: 78384

Re: Where can I get a Recent-Git-Build of FreeBASIC?

OK for the fbc build, but not for the manual (last change yesterday afternoon).
by fxm
Sep 28, 2020 21:49
Forum: General
Topic: Execute function stored as string literal
Replies: 15
Views: 315

Re: Execute function stored as string literal

Julcar wrote:Another question: can the pointer variable be Dimmed as Shared or stored in an array?

Yes.
by fxm
Sep 28, 2020 21:30
Forum: General
Topic: Execute function stored as string literal
Replies: 15
Views: 315

Re: Execute function stored as string literal

During run-time, the only way to choose which procedure to call from a variable is to use a procedure pointer:

Code: Select all

Sub mySub()
  Print "hello world!"
End Sub

Dim As Sub theSubToExec
theSubToExec = @mySub

theSubToExec()

Go to advanced search