Question:
On what PB version introduced the need to change .l to .i in order to be able to work the same as past?
Sorry I don't know how to explain it (my bad English), but hope you understand
Are you referring to the process that returns memory allocation addresses that are more random instead of sequential, like low ones first and high ones later, as an added security feature? If so, then you realize that change merely exposed that the variables that needed to be changed were previously declared with the wrong size because they couldn't hold the range of possible memory addresses that could be returned.
Caronte3D wrote: Mon Aug 11, 2025 6:30 pmOn what PB version introduced the need to change .l to .i in order to be able to work the same as past?
If I understand correctly, you're referring to the introduction of the first 64-bit version of PureBasic, v4.30, released in December 2008.
It effectively changed the size of integer and long data types, causing some legacy code to break.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too!Please visit my YouTube Channel
There should be more helpful topics on this forum, but I found another one by 'freak' in the PureBasic Team Blog describing the changes for 64bit: Is your 64bit program really solid ?
Fred wrote: Wed Jan 15, 2025 3:38 pm...it's because your DLL doesn't support ASRL (random memory allocation using all 64-bit range meaning than pointer can be greatly above 32-bit).
Oh dear! That's something new that I hadn't heard about.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too!Please visit my YouTube Channel