Page 6 of 7
Re: PureBasic 6.12 LTS is out !
Posted: Sat Sep 14, 2024 8:30 pm
by kenmo
Thanks Fred & team!!!
Re: PureBasic 6.12 LTS is out !
Posted: Sat Sep 14, 2024 9:22 pm
by SPH

Thx a lot for this version

Re: PureBasic 6.12 LTS is out !
Posted: Sun Sep 15, 2024 12:00 am
by Andre
6.12 successfully tested with my project (two sources of 45k and 100k) on Windows. Nice

The same on MacOS need to be done...
Re: PureBasic 6.12 LTS is out !
Posted: Sun Sep 15, 2024 8:15 am
by pjay
Thanks Fred & Team.

Re: PureBasic 6.12 LTS is out !
Posted: Sun Sep 15, 2024 8:27 am
by threedslider
Great ! And thank you a lot to Fred with his team too !
Re: PureBasic 6.12 LTS is out !
Posted: Sun Sep 15, 2024 2:19 pm
by le_magn
Thanks Fred!!!
Re: PureBasic 6.12 LTS is out !
Posted: Sun Sep 15, 2024 8:17 pm
by marcoagpinto
Thanks, Fred and team!
Re: PureBasic 6.12 LTS is out !
Posted: Sun Sep 22, 2024 10:23 pm
by doctorized
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?
Re: PureBasic 6.12 LTS is out !
Posted: Mon Sep 23, 2024 4:17 am
by BarryG
doctorized wrote: Sun Sep 22, 2024 10:23 pmthat exe file from 2.80MB now is 3.45MB
It's no big deal. It's like, what, an extra 650 KB with the extra speed optimisations and modern code?
doctorized wrote: Sun Sep 22, 2024 10:23 pmI also noticed that my executable is now an SFX 7-zip file
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 !
Posted: Mon Sep 23, 2024 4:36 am
by AZJIO
doctorized wrote: Sun Sep 22, 2024 10:23 pm
executable is now an SFX 7-zip file!
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.
Re: PureBasic 6.12 LTS is out !
Posted: Mon Sep 23, 2024 9:08 am
by doctorized
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?
If you have 7zip installed, right click on an exe file made with PB. Select Properties. You will find a Compression tab among others...
Re: PureBasic 6.12 LTS is out !
Posted: Mon Sep 23, 2024 9:18 am
by Psychophanta
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...
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.
Re: PureBasic 6.12 LTS is out !
Posted: Mon Sep 23, 2024 9:22 am
by Fred
doctorized wrote: Mon Sep 23, 2024 9:08 am
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?
If you have 7zip installed, right click on an exe file made with PB. Select Properties. You will find a Compression tab among others...
It's indeed not generating a zipped file, or you couldn't run it. 7z should detect something else.
Re: PureBasic 6.12 LTS is out !
Posted: Mon Sep 23, 2024 11:30 am
by spikey
Psychophanta wrote: Mon Sep 23, 2024 9:18 am
every '.exe' in windows has a 'MZ....' header
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
Re: PureBasic 6.12 LTS is out !
Posted: Mon Sep 23, 2024 8:59 pm
by Randy Walker
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...
No "Compresion" tab -- There
IS a "Compatibility" tab.