Search found 1391 matches

by St_W
Nov 19, 2018 14:33
Forum: Linux
Topic: Best Distro for FB
Replies: 38
Views: 2100

Re: Best Distro for FB

Debian is focused on stability and security and thus often the latest version of an application is not available in its package repositories. If you want that use another distro, like Ubuntu, which is based on Debian but also provides recent application versions in its repositories (at the cost of s...
by St_W
Nov 16, 2018 13:37
Forum: Community Discussion
Topic: Have anyone an complete updated Freebasic?
Replies: 23
Views: 442

Re: Have anyone an complete updated Freebasic?

I actually never used MINGW but it is also for Unix-like systems, apparently. I can install it directly from the software repository here on Manjaro Linux. It allows to cross compile applications on Linux for Windows. So you can create Windows applications on your Linux system. But you can't run th...
by St_W
Nov 16, 2018 8:40
Forum: Community Discussion
Topic: Have anyone an complete updated Freebasic?
Replies: 23
Views: 442

Re: Have anyone an complete updated Freebasic?

http://users.freebasic-portal.de/stw/builds/ Note that these are really just the fbc builds containing only what's necessary to build fbc itself. As dodicat already suggested, if you're looking for a complete package I'd recommend to go with WinFBE suite, which includes 32-bit and 64-bit fbc from a...
by St_W
Nov 15, 2018 15:00
Forum: Projects
Topic: FBIde 0.4.6 r3 Avilable now
Replies: 77
Views: 22089

Re: FBIde 0.4.6 r3 Avilable now

dodicat wrote:I have the C source code for fbide

You have? I thought that it was lost (at least a significant part of it, only very old versions survived) and that's why development on fbide stopped back then?
by St_W
Nov 15, 2018 14:51
Forum: General
Topic: possible bug
Replies: 15
Views: 232

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: 232

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: 77
Views: 22089

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: 154

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: 154

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: 154

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: 652

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: 652

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: 652

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: 652

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: 103

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

Go to advanced search