Search found 1447 matches

by St_W
Nov 15, 2018 14:51
Forum: General
Topic: possible bug
Replies: 15
Views: 767

Re: possible bug

setjmp is implemented is part of the CRT and is implementation specific. Different systems, architectures or CRT implementations can use different datatypes for the jmp_buf parameter of that function. You seemed to link with an incompatible CRT, causing issues at link- or runtime.
by St_W
Nov 15, 2018 14:33
Forum: General
Topic: possible bug
Replies: 15
Views: 767

Re: possible bug

remove that function declaration entirely and replace calls to _setjmp by "setjmp" (without underscore).

edit: or better #define _setjmp setjmp on win32, not to break the implementation for other systems/architectures
by St_W
Nov 15, 2018 11:07
Forum: Projects
Topic: FBIde 0.4.6 r3 Avilable now
Replies: 83
Views: 29142

Re: FBIde 0.4.6 r3 Avilable now

ur_naz wrote:fbide is dead for 6 yrs

I think it's even longer, something > 10 years. It's a miracle why anybody would still want to use it nowadays as there are so many, so much better replacements available.
by St_W
Nov 14, 2018 11:27
Forum: General
Topic: (indirect) pointer type assignment/conversion
Replies: 14
Views: 381

Re: (indirect) pointer type assignment/conversion

As I've already written several times above, FB is statically typed. And that means that the type of p1 does not change. No matter what you assign to p1. Or to what type you cast the data you assign beforehands. It won't change. Never ever :-) p1 is an "any ptr". You can cast p1 to some ot...
by St_W
Nov 14, 2018 10:54
Forum: General
Topic: (indirect) pointer type assignment/conversion
Replies: 14
Views: 381

Re: (indirect) pointer type assignment/conversion

statically typed means that the type of a variable cannot change. In your example p1 = cast(any ptr, @first) does not change the type of p1. either you declare p1 as TFirst ptr or you cast p1 every time you want to use it as TFirst ptr: p1 = @first print cast(tFirst ptr, p1)->a '...
by St_W
Nov 14, 2018 10:46
Forum: General
Topic: (indirect) pointer type assignment/conversion
Replies: 14
Views: 381

Re: (indirect) pointer type assignment/conversion

FreeBasic is a statically typed language. So your example code is invalid. Instead, you need to either create a new variable that uses the appropriate pointer type or use casts everywhere. It wouldn't work in any other statically typed language (like C, C#, Java, ...) either. see also https://en.wik...
by St_W
Nov 13, 2018 7:41
Forum: Community Discussion
Topic: Forum Moderators
Replies: 19
Views: 1780

Re: Forum Moderators

sancho3 wrote:killde by Symentec Endpoint Protection
Can you make heads or tales of it?
actually it isn't really hard to interpret: SEP (a virus scanner) deleted the binary. So this is just a notification about a false positive in SEP's virus detection.
by St_W
Nov 12, 2018 8:15
Forum: Community Discussion
Topic: Forum Moderators
Replies: 19
Views: 1780

Re: Forum Moderators

sancho3 wrote:And I see no reason why deltarho[1859] cannot be a mod.
A desire for revenge is definitely not one of the best properties for a moderator, but I can understand it to some extent. Otherwise I would've agreed.
by St_W
Nov 12, 2018 0:48
Forum: Community Discussion
Topic: Forum Moderators
Replies: 19
Views: 1780

Re: Forum Moderators

Nobody mentioned MrSwiss explicitly (except you) - the cited statement refers to an (anonymous) group of trolls. Such a generalisation is definitely not very nice, that's for sure (see also my previous comments), but it's no direct personal insult and describes the factual behaviour of those people ...
by St_W
Nov 11, 2018 22:30
Forum: Community Discussion
Topic: Forum Moderators
Replies: 19
Views: 1780

Re: Forum Moderators

FreeBASIC's Forum is not the only forum I'm a member of, and I actually still have a young and active professional life. So do I and I somehow also agree with the other statements you made, but the people you're talking about are just a minority (at least that's what I hope/believe). As you mention...
by St_W
Nov 11, 2018 22:11
Forum: General
Topic: Program 1 time starting
Replies: 5
Views: 325

Re: Program 1 time starting

On Windows this is usually done using a named Mutex, as described in this article by Microsoft:
https://support.microsoft.com/en-us/hel ... n-visual-c
by St_W
Nov 11, 2018 21:05
Forum: Community Discussion
Topic: Forum Moderators
Replies: 19
Views: 1780

Re: Forum Moderators

My biggest issue being a mod here would be not laughing over how riled up the autists in the forum get over the absolute most petty stuff. Yet, this is (by far) not the first discussion of that kind we had, so there must be some issue. Just ignoring it and globally accusing most of the forum member...
by St_W
Nov 11, 2018 17:35
Forum: Community Discussion
Topic: Resignation
Replies: 74
Views: 4836

Re: Resignation

Constrict them too much [...] and there is a chance that the moderator candidate are either inexperience or powerhungry dilettantes that will live with the rules to exercise power. There's probably an even higher change of misuse of priviledge if there are no rules and they can basically do what th...
by St_W
Nov 10, 2018 21:04
Forum: Projects
Topic: BASIC Studio for Linux (in development)
Replies: 127
Views: 10566

Re: BasicStudio for Linux (in development)

I have been thinking about that, but considered the project in a too early stage to use a VCS. I don't think that there is such a thing as "too early to use a VCS", especially as there's no need to publish it if you're using e.g. GIT/Mercurial (or any over DVCS), you can upload it to GitH...
by St_W
Nov 07, 2018 20:10
Forum: Windows
Topic: Getting mouse position not working as expected
Replies: 13
Views: 893

Re: Getting mouse position not working as expected

UEZ wrote:Hmm, as I don't have that issue what is your issue? I assume the mouse cursor is not at proper position (middle of the cross-hairs).
Exactly; mouse pointer position and crosshairs position differ on the screen with scaling <> 100%. It works fine on the other display with 100% scaling.

Go to advanced search