Search found 1437 matches

by St_W
Feb 17, 2019 19:01
Forum: Windows
Topic: Dpi awareness functions not included?
Replies: 20
Views: 446

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

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

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

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: 6
Views: 214

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

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

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...
by St_W
Jan 16, 2019 6:28
Forum: General
Topic: can you spot the problem?
Replies: 6
Views: 279

Re: can you spot the problem?

how did you fix it / work around it?

btw it would be nice if you could document the build process on macos like for the other OSes in our wiki. Macos is probably not ready for tge wiki yet, but when it'll be integrated in fbc's master it'd be nice to already have some docs for the wiki.
by St_W
Jan 11, 2019 8:38
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 34
Views: 2105

Re: VisualFBEditor - IDE for FreeBasic

If there still were any win98 users out there that would care, then probably, but I doubt there are any. So no, there hasn't been any effort put in porting FB to win98, neither by the compiler developers nor by external contributors. Afaik the currently used toolchain to compile FB for windows doesn...
by St_W
Jan 10, 2019 21:50
Forum: Beginners
Topic: Compiler tests
Replies: 15
Views: 527

Re: Compiler tests

fbc_tests.string.format.numberFormatTest is the only test known to fail on win x64, on other platforms all tests succeed. You can find test results (including console output) for windows & linux, x86 & x64 on my CI server's (=Jenkins) website, see https://freebasic.net/forum/viewtopic.php?f=...
by St_W
Jan 09, 2019 9:49
Forum: Community Discussion
Topic: VCS: private repositories for free on GitHub
Replies: 1
Views: 155

VCS: private repositories for free on GitHub

If you're not using any version control system (VCS) for your coding activities yet, there are lots of good reasons to start doing so (but I won't elaborate on that). I just wanted you to notify that a great service for Git hosting, GitHub, just got better: GitHub offers free private repositories no...
by St_W
Jan 09, 2019 8:01
Forum: Projects
Topic: VisualFBEditor - IDE for FreeBasic
Replies: 34
Views: 2105

Re: VisualFBEditor - IDE for FreeBasic

IMHO it's totally fine as-is and the usage of OOP concepts improves usability and code quality. MySoft has always hated everything that uses OOP for no obvious reason ("it's slower"/inefficient, but that isn't a valid argument IMHO) and thus I wouln't put too much weight on his suggestions...
by St_W
Jan 08, 2019 22:22
Forum: Beginners
Topic: Compiler tests
Replies: 15
Views: 527

Re: Compiler tests

instead of setting up everything for a working environment yourself i recommend to use msys2 https://www.msys2.org/ or similar preconfigured environments.
by St_W
Jan 08, 2019 12:57
Forum: Libraries
Topic: xcgui-2.3.3 win32
Replies: 11
Views: 347

Re: xcgui-2.3.3 win32

Thanks srvaldez. That makes this thing a bit less interesting. So in short for the free version it prohibits commercial use and requires to refer to their website and post a screenshot of the application on their forums (which could be hard because it's also in chinese) (if I understood that transla...
by St_W
Jan 08, 2019 11:46
Forum: Libraries
Topic: xcgui-2.3.3 win32
Replies: 11
Views: 347

Re: xcgui-2.3.3 win32

Is there any information on the license of that library? Unfortunately I'm quite lost on that webpage as it's all in Chinese.

Go to advanced search