Differences between 6.1 5.73
-
- Enthusiast
- Posts: 746
- Joined: Fri Jul 14, 2006 8:53 pm
- Location: Malta
- Contact:
Differences between 6.1 5.73
Is there an official list of the differences between these 2 versions? I had code which worked well, and now it doesn't
I may not help with your coding
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Re: Differences between 6.1 5.73
See PB Help History.
Error message when compiling ?
Where is the problem?
Error message when compiling ?
Where is the problem?
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
-
- Enthusiast
- Posts: 746
- Joined: Fri Jul 14, 2006 8:53 pm
- Location: Malta
- Contact:
Re: Differences between 6.1 5.73
no errors when compiling
crashes when ran....hence my question
It is a compiler, and quite difficult to isolate where the issue comes from which is why I didn't post any code
crashes when ran....hence my question
It is a compiler, and quite difficult to isolate where the issue comes from which is why I didn't post any code
I may not help with your coding
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Re: Differences between 6.1 5.73
You can check if you have '.l' where pointer or '.i' should be needed, it's probably the most relevant change if you encounter a crash
Re: Differences between 6.1 5.73
Secure storage management is now used. This means that IDs or handles can be larger than 32 bits.
So if you use ID's or handles as long (.l) in the programme, problems will occur. You must use integer (.i) (which has always been the case)
So if you use ID's or handles as long (.l) in the programme, problems will occur. You must use integer (.i) (which has always been the case)
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
-
- Enthusiast
- Posts: 581
- Joined: Wed Sep 25, 2019 10:18 am
Re: Differences between 6.1 5.73
PureBasic 6.00 released !kinglestat wrote: Tue Apr 30, 2024 2:19 pm Is there an official list of the differences between these 2 versions? I had code which worked well, and now it doesn't
PureBasic 6.01 LTS is released !
PureBasic 6.02 LTS is out !
PureBasic 6.03 LTS is released !
PureBasic 6.04 LTS is out !
PureBasic 6.10 LTS is out !
PureBasic 6.11 LTS Beta 2 is ready for testing !
Please ask your questions, because switch on the cognition apparatus decides on the only known life in the universe.Wersten :DDüsseldorf NRW Germany Europe Earth Solar System Flake Bubble Orionarm
Milky Way Local_Group Virgo Supercluster Laniakea Universe
Milky Way Local_Group Virgo Supercluster Laniakea Universe
-
- Enthusiast
- Posts: 746
- Joined: Fri Jul 14, 2006 8:53 pm
- Location: Malta
- Contact:
Re: Differences between 6.1 5.73
I am using .l some place. Will check that out
I may not help with your coding
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Just ask about mental issues!
http://www.lulu.com/spotlight/kingwolf
http://www.sen3.net
Re: Differences between 6.1 5.73
This was my experience. I switched to ".i" in several places and my app is rock-solid again now. I only compile as 64-bit now as well.Fred wrote: Tue Apr 30, 2024 4:12 pm You can check if you have '.l' where pointer or '.i' should be needed, it's probably the most relevant change if you encounter a crash
Re: Differences between 6.1 5.73
No offence and obviously many people do/did this, but what makes/made you use .l instead of .i? The help is (more or less) clear about handles and addressing, plus it is a bit extra work to add ".l" instead of leaving the suffix completely (and automatically choose the right one)?
I'm not asking to feel superior, this is a serious question (please don't hurt me!).
I'm not asking to feel superior, this is a serious question (please don't hurt me!).
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Re: Differences between 6.1 5.73
Mine was back in the days when I was compiling 32-bit only, and ".i" didn't exist back then (it was introduced in v4.30 in 2008, so 16 years ago). My first PureBasic was v2.40, so I've been using it for over 23 years now.
Plus I was using other people's code from these forums where they accidentally used ".l" instead of ".i" and I just was copy/pasting and not knowing they had it wrong.
And (correct me if I'm wrong) some API structures still actually require ".l" for some flags?
Plus I was using other people's code from these forums where they accidentally used ".l" instead of ".i" and I just was copy/pasting and not knowing they had it wrong.
And (correct me if I'm wrong) some API structures still actually require ".l" for some flags?
Re: Differences between 6.1 5.73
That is correct. The API structures use a lot of DWord (PB Long). Therefore it was a lot of work to rewrite the structures from 32 bit to 64 bit.BarryG wrote: Wed May 01, 2024 10:08 am And (correct me if I'm wrong) some API structures still actually require ".l" for some flags?
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Differences between 6.1 5.73
Yes, a lot of Windows APIs need .l, not .i
I didn't realize the .i was introduced so late (though it's already been a while), I joined with 5.11.
I didn't realize the .i was introduced so late (though it's already been a while), I joined with 5.11.
Good morning, that's a nice tnetennba!
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Re: Differences between 6.1 5.73
I found the "Migration guide" section, but there is nothing there for new versions
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: Differences between 6.1 5.73
In the early days there was no .i type. That's how the habits were formed.jacdelad wrote:No offence and obviously many people do/did this, but what makes/made you use .l instead of .i?
BERESHEIT
Re: Differences between 6.1 5.73
And some PB functions, like Date(), didn't need .i, only .l, until PB 6.10 regardless 32 or 64-bit OS.
I think that many codes using these functions should no longer work for this reason too.
I think that many codes using these functions should no longer work for this reason too.
If my English syntax and lexicon are incorrect, please bear with Google translate and DeepL. They rarely agree with each other!
Except on this sentence...
Except on this sentence...