PureBasic 6.12 LTS is out !

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
kenmo
Addict
Addict
Posts: 2033
Joined: Tue Dec 23, 2003 3:54 am

Re: PureBasic 6.12 LTS is out !

Post by kenmo »

Thanks Fred & team!!!
User avatar
SPH
Enthusiast
Enthusiast
Posts: 561
Joined: Tue Jan 04, 2011 6:21 pm

Re: PureBasic 6.12 LTS is out !

Post by SPH »

:idea: Thx a lot for this version :idea:

!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
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2137
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: PureBasic 6.12 LTS is out !

Post 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...
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
pjay
Enthusiast
Enthusiast
Posts: 251
Joined: Thu Mar 30, 2006 11:14 am

Re: PureBasic 6.12 LTS is out !

Post by pjay »

Thanks Fred & Team. :D
threedslider
Enthusiast
Enthusiast
Posts: 377
Joined: Sat Feb 12, 2022 7:15 pm

Re: PureBasic 6.12 LTS is out !

Post by threedslider »

Great ! And thank you a lot to Fred with his team too !
User avatar
le_magn
Enthusiast
Enthusiast
Posts: 277
Joined: Wed Aug 24, 2005 12:11 pm
Location: Italia

Re: PureBasic 6.12 LTS is out !

Post by le_magn »

Thanks Fred!!!
Image
User avatar
marcoagpinto
Addict
Addict
Posts: 1039
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: PureBasic 6.12 LTS is out !

Post by marcoagpinto »

Thanks, Fred and team!
User avatar
doctorized
Addict
Addict
Posts: 882
Joined: Fri Mar 27, 2009 9:41 am
Location: Athens, Greece

Re: PureBasic 6.12 LTS is out !

Post 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?
BarryG
Addict
Addict
Posts: 4123
Joined: Thu Apr 18, 2019 8:17 am

Re: PureBasic 6.12 LTS is out !

Post 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?
Last edited by BarryG on Mon Sep 23, 2024 5:49 am, edited 1 time in total.
AZJIO
Addict
Addict
Posts: 2143
Joined: Sun May 14, 2017 1:48 am

Re: PureBasic 6.12 LTS is out !

Post 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.
User avatar
doctorized
Addict
Addict
Posts: 882
Joined: Fri Mar 27, 2009 9:41 am
Location: Athens, Greece

Re: PureBasic 6.12 LTS is out !

Post 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...
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Re: PureBasic 6.12 LTS is out !

Post 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.
Last edited by Psychophanta on Mon Sep 23, 2024 9:37 am, edited 1 time in total.
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.12 LTS is out !

Post 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.
User avatar
spikey
Enthusiast
Enthusiast
Posts: 750
Joined: Wed Sep 22, 2010 1:17 pm
Location: United Kingdom

Re: PureBasic 6.12 LTS is out !

Post 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
Randy Walker
Addict
Addict
Posts: 989
Joined: Sun Jul 25, 2004 4:21 pm
Location: USoA

Re: PureBasic 6.12 LTS is out !

Post 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.
- - - - - - - - - - - - - - - -
Randy
I *never* claimed to be a programmer.
Post Reply