Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Latest version of QB64PE or QB64 compatible with Windows XP (32-bit)?
#7
(06-23-2025, 09:26 PM)madscijr Wrote: Thanks. 

Any idea what kinds of things would stop working by trying to compile QB64PE 4.x on XP using QB64 1.5?
To answer your specific question - it wouldn't really work the way you're picturing. The real problem is the runtime (libqb), not the compiler. Even if you could compile QB64PE 4.x using QB64 1.5, that theoretical version of QB64PE 4.X would still produce programs that won't run on XP because they would be built against the new runtime. To get XP support you have to use an older runtime, which means using an older version of QB64.

As for a specific version it broke, there were some pretty significant threading issues that I fixed in QB64PE and some of the APIs used to address them don't exist on XP. It looks like that work was done in v3.5.0, so below that _might_ work on XP by chance, above that every compiled program calls the missing APIs so they won't work at all (including the IDE).

It is theoretically possible to implement those APIs only using functionality on XP, so if you did that you may find programs mostly work (if you avoid using certain commands/functionality anyway). It's also entirely possible we now call other missing APIs and you'd still be stuck, we don't keep a close eye on that anymore since XP support was dropped. We also switched to llvm-mingw and I'm not sure if that works on Windows XP, you can't do anything without that and can't easily switch it back.

So TL;DR, the farther you get from 3.5.0, the messier it will be, even below 3.5.0 there's certain stuff that doesn't work. It's not really practical, but if you wanted to give it an effort the threading changes in 3.5.0 would be the starting point, google implementing 'condition variables' in Windows XP and make the required changes to the runtime Tongue Though I'll clarify that we have no plans to add back Windows XP even if you managed to get something working, and it will just get broken further in the future.
Reply


Messages In This Thread
RE: Latest version of QB64PE or QB64 compatible with Windows XP (32-bit)? - by DSMan195276 - 06-24-2025, 03:34 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QB64PE Excel-type spreadsheet supporting formulas and QB64PE macros? madscijr 33 1,416 01-30-2026, 12:28 AM
Last Post: madscijr
  Make windows .exe using Linux version? Circlotron 7 495 01-15-2026, 09:42 PM
Last Post: ahenry3068
  QB64 odd behavior when Windows Terminal is set to default terminal app hanness 13 1,438 10-03-2025, 12:52 AM
Last Post: bert22306
  Test to post a new Thread + question 32 or 64 bit Rudy M 2 538 09-09-2025, 04:10 PM
Last Post: Rudy M
  useful page: Value of constants for the Windows 32-bit API madscijr 4 664 08-15-2025, 06:35 PM
Last Post: SMcNeill

Forum Jump:


Users browsing this thread: 1 Guest(s)