PureBasic 6.10 LTS is out !

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: PureBasic 6.10 LTS is out !

Post by ChrisR »

BarryG wrote: Fri Apr 19, 2024 11:37 am Hmm, not in my experience. Like I said, my apps get several false positives without UPX, and none with UPX.
Good to know, it's been a while since I've used UPX but in my experience, like Marc56us, I almost always had more false positives with UPXed exe's

Is it because of the 3 "UPX" texts replacement in the header, that it's tagged as "corrupt" (malformed and will not execute in a real system)!
akee
Enthusiast
Enthusiast
Posts: 496
Joined: Wed Aug 18, 2004 9:52 am
Location: Penang, Malaysia

Re: PureBasic 6.10 LTS is out !

Post by akee »

I recompiled my Console based program on 6.10 from 6.03 and noticed that the size of the .exe has grown from 131K to 616K. Tried the optimize code option and disabled the Windows DPI and debugger but the size just got reduced by 2K. I've not changed anything in the code.
BarryG
Addict
Addict
Posts: 4121
Joined: Thu Apr 18, 2019 8:17 am

Re: PureBasic 6.10 LTS is out !

Post by BarryG »

ChrisR wrote: Fri Apr 19, 2024 12:07 pmIs it because of the 3 "UPX" texts replacement in the header, that it's tagged as "corrupt" (malformed and will not execute in a real system)!
Removing the 3 x "UPX" texts definitely seems to confuse the anti-virus apps, and it stops lay users from decompressing the exe, too. The good news is that the exe still runs just fine in a real system without them. :)
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: PureBasic 6.10 LTS is out !

Post by jacdelad »

akee wrote: Mon Apr 22, 2024 7:36 am I recompiled my Console based program on 6.10 from 6.03 and noticed that the size of the .exe has grown from 131K to 616K. Tried the optimize code option and disabled the Windows DPI and debugger but the size just got reduced by 2K. I've not changed anything in the code.
Please stop reporting an increase in filesize when using PB 6.10+...this is exhausting! It was discussed in this thread and a dozen other threads. JUST STOP ALREADY!
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
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: PureBasic 6.10 LTS is out !

Post by Quin »

jacdelad wrote: Mon Apr 22, 2024 1:40 pm Please stop reporting an increase in filesize when using PB 6.10+...this is exhausting! It was discussed in this thread and a dozen other threads. JUST STOP ALREADY!
Afraid I have to agree with this one, especially when it was outlined in this topic just a few posts back. :twisted:
That said though, this was changed in 6.10 in order to make the bundled C runtimes (what allow PB programs to run as standalone as they do_ much better and more secure
Smitis
New User
New User
Posts: 5
Joined: Mon Sep 04, 2023 11:58 am

Re: PureBasic 6.10 LTS is out !

Post by Smitis »

Please stop reporting an increase in filesize when using PB 6.10+...this is exhausting! It was discussed in this thread and a dozen other threads. JUST STOP ALREADY!
Sorry, but this does not solve the problem - my dlls have increased by more than 10 times!
User avatar
Lord
Addict
Addict
Posts: 899
Joined: Tue May 26, 2009 2:11 pm

Re: PureBasic 6.10 LTS is out !

Post by Lord »

They opened Pandora's box :twisted:
Image
User avatar
Caronte3D
Addict
Addict
Posts: 1355
Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe

Re: PureBasic 6.10 LTS is out !

Post by Caronte3D »

:lol: :lol: :mrgreen:
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: PureBasic 6.10 LTS is out !

Post by ChrisR »

:lol:
To complete the picture, even if the exes have gotten a little bigger, they are still very reasonable nowadays.
It's important to note that Ram size doesn't really seem to change much, at least for me.
Size and Ram usage for my ~50 k lines app between PB 6.03, 6.10 and 6.10 with Visual Studio linker

Code: Select all

PB 6.03  . : 3,58 Mb usage in Ram 45,6 Mb
PB 6.10  . : 5,66 Mb usage in Ram 45,5 Mb
PB 6.10 vc : 4.47 MB usage in Ram 45,6 Mb
A little less, but about the same with the x86 version.
fryquez
Enthusiast
Enthusiast
Posts: 391
Joined: Mon Dec 21, 2015 8:12 pm

Re: PureBasic 6.10 LTS is out !

Post by fryquez »

You can dynamic link against the UCRT and static against the VCRuntime.
Doing so, the size increase will just be around 16KB more than with Purebasic 6.03.

You just need ucrt.lib from visual studio or Windows SDK.

Code: Select all

Import "/NODEFAULTLIB:libucrt.lib" : EndImport

Import "ucrt.lib" : EndImport
The UCRT is part of Windows 10 and even Win7 and 8 got it via windows update around 2016.
Fred
Administrator
Administrator
Posts: 18153
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PureBasic 6.10 LTS is out !

Post by Fred »

True, I plan to add that somewhen (your exe will only work on Win10+).
BarryG
Addict
Addict
Posts: 4121
Joined: Thu Apr 18, 2019 8:17 am

Re: PureBasic 6.10 LTS is out !

Post by BarryG »

fryquez wrote: Thu Apr 25, 2024 4:45 pmYou just need ucrt.lib from visual studio
Is that file downloadable somewhere (without installing Visual Studio I mean) so we can get it before Fred adds it?
User avatar
DeanH
Enthusiast
Enthusiast
Posts: 274
Joined: Wed May 07, 2008 4:57 am
Location: Adelaide, South Australia
Contact:

Re: PureBasic 6.10 LTS is out !

Post by DeanH »

It is part of the Windows SDK. I downloaded it this morning. Barry, I'll email it to you.
Axolotl
Enthusiast
Enthusiast
Posts: 798
Joined: Wed Dec 31, 2008 3:36 pm

Re: PureBasic 6.10 LTS is out !

Post by Axolotl »

Marc56us wrote: Tue Apr 09, 2024 4:12 pm History page need to be updated :wink:
Minor Note: still not up to date
It looks like the above link and the file '...\PureBasic.chm' are not on the same source code base.

BTW: just some of my thoughts....
I think it would be better if the announcement page wasn't filled with so many (different) topics. I would just find the updates regarding the next beta version clearer.
Oops, now I've done it too..... :oops:
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
Quin
Addict
Addict
Posts: 1122
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: PureBasic 6.10 LTS is out !

Post by Quin »

Axolotl wrote: Tue Apr 30, 2024 3:01 pm I think it would be better if the announcement page wasn't filled with so many (different) topics. I would just find the updates regarding the next beta version clearer.
I fully agree, not to mention that some of the pinned topics are quite old by now :mrgreen:
Post Reply