12-20-2025, 02:12 PM
I'm pretty sure I know the answer but, if a program is created on a 64 bit PC will it run on a 32 bit PC or will it need to be recompiled on an older 32 bit PC?
Oh look. A sig line :-)
|
Nice simple, I hope, question
|
|
12-20-2025, 02:12 PM
I'm pretty sure I know the answer but, if a program is created on a 64 bit PC will it run on a 32 bit PC or will it need to be recompiled on an older 32 bit PC?
Oh look. A sig line :-)
My guess is it will have to be recompiled. I would bet real money! My argument, look at QB64pe you have a 64 bit version and a 32 bit version.
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever
12-20-2025, 02:25 PM
It all depends on which compiler you use to compile with.
If you use the 32-bit version of QB64, the exe will run on both 32-bit and 64-bit machines. If you use the 64-bit version of QB64, the exe will only run on 64-bit machines. Note that 32-bit comes with various limitations that 64-bit doesn't, with the biggest being a difference in DECLARE LIBRARY packing/spacing and the limit of about 1.5GB of max memory usage for your program. (32-bit has a true 2GB memory limit, but the system needs to reserve some space for itself, so anytime after about 1.5GB, you're pushing the limits and dancing on the edge of an "out o memory" error.)
12-20-2025, 07:19 PM
I thought that may be the answer. Most of my programming is done on 64bit but I do have a Panasonic Toughbook CF-19 that's still running 32bit Win 7 and some of the software I use for work on it won't run under 64bit so looks like I'll need to compile two versions of everything. Not a problem luckily :-)
Oh look. A sig line :-)
12-20-2025, 09:28 PM
You don't *have* to have two versions, as long as the 32-bit version is sufficient enough for your needs.
32-bit applications run on 64-bit machines. 64-bit applications *don't* run on 32-bit machines. You determine which application you want when downloading from the github. If you just grab the 32-bit version of QB64 and use it (with the differences I mentioned before in total application memory usable and packing and such with API calls), then any EXE you compile with it will be 32-bits and will be useable on both 32-bit and 64-bit systems. |
|
« Next Oldest | Next Newest »
|
| Possibly Related Threads… | |||||
| Thread | Author | Replies | Views | Last Post | |
| _Putimage Question. | Pete | 11 | 671 |
01-04-2026, 09:33 PM Last Post: Pete |
|
| NewBie Question | niteflyer | 2 | 324 |
11-06-2025, 07:11 PM Last Post: Petr |
|
| A Question About _MAPTRIANGLE | Magdha | 2 | 372 |
11-02-2025, 11:37 AM Last Post: Magdha |
|
| '$include: 'file.tmr' Timing Question | pmackay | 2 | 427 |
10-16-2025, 12:20 PM Last Post: a740g |
|
| question on determining time spent in area | fistfullofnails | 9 | 810 |
08-25-2025, 01:55 PM Last Post: fistfullofnails |
|