PureBasic 6.12 LTS is out !
Re: PureBasic 6.12 LTS is out !
Thanks Fred & team!!!
Re: PureBasic 6.12 LTS is out !


!i!i!i!i!i!i!i!i!i!
!i!i!i!i!i!i!
!i!i!i!
//// Informations ////
Portable LENOVO ideapad 110-17ACL 64 bits
Version de PB : 6.12LTS - 64 bits
- Andre
- PureBasic Team
- Posts: 2137
- Joined: Fri Apr 25, 2003 6:14 pm
- Location: Germany (Saxony, Deutscheinsiedel)
- Contact:
Re: PureBasic 6.12 LTS is out !
6.12 successfully tested with my project (two sources of 45k and 100k) on Windows. Nice 
The same on MacOS need to be done...

The same on MacOS need to be done...
Re: PureBasic 6.12 LTS is out !
Thanks Fred & Team. 

-
- Enthusiast
- Posts: 377
- Joined: Sat Feb 12, 2022 7:15 pm
Re: PureBasic 6.12 LTS is out !
Great ! And thank you a lot to Fred with his team too !
- marcoagpinto
- Addict
- Posts: 1039
- Joined: Sun Mar 10, 2013 3:01 pm
- Location: Portugal
- Contact:
Re: PureBasic 6.12 LTS is out !
Thanks, Fred and team!
- doctorized
- Addict
- Posts: 882
- Joined: Fri Mar 27, 2009 9:41 am
- Location: Athens, Greece
Re: PureBasic 6.12 LTS is out !
I gave 6.12 a try. To be honest, I use 5.72 mainly. Had issues with previous 6.0x versions (all mentioned by others in the bug section), so I am using 5.72 as my main version. Compiled an app of mine and found out that exe file from 2.80MB now is 3.45MB - 3,627,520 bytes. After selecting "Optimize generated code" in compiler settings, size now is 3,618,816 bytes. I also noticed that my executable is now an SFX 7-zip file!! Opened it with 7zip and saw icons and more like using res hacker.
Is there anything that I can do to drop size?
Is there anything that I can do to drop size?
Re: PureBasic 6.12 LTS is out !
It's no big deal. It's like, what, an extra 650 KB with the extra speed optimisations and modern code?
What do you mean? This doesn't make sense. You built an exe and it somehow turned into a zip file?doctorized wrote: Sun Sep 22, 2024 10:23 pmI also noticed that my executable is now an SFX 7-zip file
Last edited by BarryG on Mon Sep 23, 2024 5:49 am, edited 1 time in total.
Re: PureBasic 6.12 LTS is out !
7-zip.exe can analyze resources. You won't be able to extract anything. Binary data is meaningless.
I got these tests
637 - 436 = 201 kb (code 2000 lines)
146 - 7 = 139 kb (MessageRequester())
Stop suffering because of adding 200 kb
You can optimize images or remove unnecessary modules from the executable file. I use gif for icons if the size of the executable file is less than 100 kb. I also don't use a regular expression, but instead make my own analyzer. But if it damages the program, then I will use it, even if the size is large.
- doctorized
- Addict
- Posts: 882
- Joined: Fri Mar 27, 2009 9:41 am
- Location: Athens, Greece
Re: PureBasic 6.12 LTS is out !
If you have 7zip installed, right click on an exe file made with PB. Select Properties. You will find a Compression tab among others...BarryG wrote: Mon Sep 23, 2024 4:17 am What do you mean? This doesn't make sense. You built an exe and it somehow turned into a zip file?
- Psychophanta
- Always Here
- Posts: 5153
- Joined: Wed Jun 11, 2003 9:33 pm
- Location: Anare
- Contact:
Re: PureBasic 6.12 LTS is out !
Time ago, i experienced that, and result was every '.exe' in windows has a 'MZ....' header, and mostly of the times, it is a compressed file, which is one of the uglyest features of some OSes like windows.doctorized wrote: Mon Sep 23, 2024 9:08 am If you have 7zip installed, right click on an exe file made with PB. Select Properties. You will find a Compression tab among others...
Last edited by Psychophanta on Mon Sep 23, 2024 9:37 am, edited 1 time in total.
Re: PureBasic 6.12 LTS is out !
It's indeed not generating a zipped file, or you couldn't run it. 7z should detect something else.doctorized wrote: Mon Sep 23, 2024 9:08 amIf you have 7zip installed, right click on an exe file made with PB. Select Properties. You will find a Compression tab among others...BarryG wrote: Mon Sep 23, 2024 4:17 am What do you mean? This doesn't make sense. You built an exe and it somehow turned into a zip file?
Re: PureBasic 6.12 LTS is out !
This is a Microsoft magic number, it denotes a program as an executable, rather than a data file, under MS-DOS and has nothing to do with compression. It's still present in Windows executables because this header contains the stub program that generates the "This program cannot be run in DOS mode." error message if you try to run a Windows program under MS-DOS. See https://learn.microsoft.com/en-us/windo ... /pe-format
-
- Addict
- Posts: 989
- Joined: Sun Jul 25, 2004 4:21 pm
- Location: USoA
Re: PureBasic 6.12 LTS is out !
No "Compresion" tab -- There IS a "Compatibility" tab.doctorized wrote: Mon Sep 23, 2024 9:08 am If you have 7zip installed, right click on an exe file made with PB. Select Properties. You will find a Compression tab among others...
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Randy
I *never* claimed to be a programmer.