Search found 1445 matches

by St_W
Aug 12, 2019 18:49
Forum: Community Discussion
Topic: [offtopic]What was at Jul 24, 2019 something special ?
Replies: 10
Views: 681

Re: [offtopic]What was at Jul 24, 2019 something special ?

My birthday as well :-) (but not the 50th)
by St_W
Jun 21, 2019 15:50
Forum: Community Discussion
Topic: fb 1.07 tests
Replies: 13
Views: 1232

Re: fb 1.07 tests

Therefore, it seems that only the passing of: ENABLE_STRIPALL=1 was omitted building 1.07.0 DEV. I'm pretty certain that St_W could fix that quickly, for future builds (which restores "old" defaults). That's correct, I didn't add that setting, but I could easily. The question is what will...
by St_W
Jun 16, 2019 13:35
Forum: Community Discussion
Topic: FBC's Cairo clock example error
Replies: 52
Views: 2661

Re: FBC's Cairo clock example error

What is the process to get this example (and maybe many more) fixed? Create a GitHub account? I have not worked with GitHub before. ⋅ Prerequisites: - a GitHub account and - a Git client installed on your PC ⋅ Fork the official FreeBasic repository https://github.com/freebasic/f...
by St_W
May 26, 2019 21:34
Forum: Windows
Topic: How can I add auto-completion in fbedit?
Replies: 3
Views: 473

Re: How can I add auto-completion in fbedit?

There's a tool "MakeApi" that comes with FreeBasic and is intended to generate ".api" files from FreeBasic source code/headers. However tended to be a bit unstable or broken for certain source files, so you may need to tweak it (and/or your input files) a bit.
by St_W
Apr 14, 2019 20:13
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 429
Views: 63181

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

Previously dkl prepared the build information and related things right after the release for the next one. See e.g.: https://github.com/freebasic/fbc/commit/cf5119532ed35edf77cfc7f6da1570aeeeae58e3 counting_pine (or other FB devs) didn't do that after the 1.06 release, that's why it still shows 1.06...
by St_W
Mar 29, 2019 17:31
Forum: General
Topic: HTTPS Requests in FreeBasic
Replies: 3
Views: 426

Re: HTTPS Requests in FreeBasic

There's also a library-version of curl, libcurl, which provides an API that you can use directly in your application instead of running external applications. Dealing with SSL yourself can get quite complicated, so I strongly advice to use some library that handles this for you (like the one I menti...
by St_W
Mar 24, 2019 19:42
Forum: Community Discussion
Topic: Where can I get a Recent-Git-Build of FreeBASIC?
Replies: 429
Views: 63181

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

Status update: The automatic package upload was broken, thus no new builds were uploaded recently. I fixed the problem today, so the latest builds should be uploaded this night. Additionally the FreeBSD 32-bit build is broken currently and also the 64-bit tests on Windows, will have a look at these ...
by St_W
Mar 19, 2019 22:39
Forum: Beginners
Topic: Compiling the runtime library
Replies: 16
Views: 1542

Re: Compiling the runtime library

Mixing different versions of GCC and/or its runtime libraries may always cause troubles, but after short googling it looks like specific versions of MSYS2 also had a problem that could cause that error (for example this bug report describes that the error was fixed by updating MSYS2: https://github....
by St_W
Feb 17, 2019 19:01
Forum: Windows
Topic: Dpi awareness functions not included?
Replies: 20
Views: 1462

Re: Dpi awareness functions not included?

A desktop environment that by default stretches a fullscreen OpenGL game out of the screen, now that's what I call bad design. There's no good solution from a OS's perspective in that case: not scaling makes the application unusable because of unreadable tiny texts and controls and scaling may also...
by St_W
Feb 17, 2019 18:29
Forum: Windows
Topic: Dpi awareness functions not included?
Replies: 20
Views: 1462

Re: Dpi awareness functions not included?

@Tourist Trap: The recommended way (according to Microsoft) to make your application dpi-aware (or explicitly dpi-unaware, which is the default when you specify nothing) is to add an entry to your application manifest. That's a better method than calling the API methods you mentioned. It should not ...
by St_W
Feb 04, 2019 22:25
Forum: Hardware Interfaces / Communication
Topic: How can I listen and serve information over a TCP port? [Windows]
Replies: 4
Views: 883

Re: How can I listen and serve information over a TCP port? [Windows]

If you want to really implement something yourself, have a look at the Winsock documentation (which works quite similar to Unix sockets). You'll also find an example there: https://docs.microsoft.com/en-us/windows/desktop/winsock/complete-server-code If you want to have a little bit less work take a...
by St_W
Jan 28, 2019 22:17
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1544

Re: [Freebasic 32 vs 64]

why not harmonize freebasic 32 and 64 so that it generates only C code with the default compilation enabled with the option -O2. it would be more logical. and it will optimize the c-generated code in both versions. You can use the gcc backend also for 32-bit freebasic by passing "-gen gcc"...
by St_W
Jan 28, 2019 18:46
Forum: Beginners
Topic: Unicode and files
Replies: 10
Views: 1122

Re: Unicode and files

Yes; Linux does not provide separate APIs for Unicode, like Windows does for UTF-16, but supports UTF-8 in existing APIs instead.
by St_W
Jan 28, 2019 18:30
Forum: General
Topic: [Freebasic 32 vs 64]
Replies: 32
Views: 1544

Re: [Freebasic 32 vs 64]

I know all that . by default freebasic 32 generates asm code while the 64-bit version generates only C code . which explains that 32 bit programs are much faster than 64 bit ... I hope it is more precise. Maybe more precise, but your conclusion is still wrong. In general asm code is not faster than...
by St_W
Jan 19, 2019 20:35
Forum: Windows
Topic: Can't we use SHELL32 dll like USER32?
Replies: 10
Views: 669

Re: Can't we use SHELL32 dll like USER32?

- there is no installer There is an installer for win32 (see https://sourceforge.net/projects/fbc/files/Binaries%20-%20Windows/). Some years I ago I modified the install script to create a combined win32/win64 installer, but I'm not sure whether that's needed. Personally I always download the zip a...

Go to advanced search