Page 23 of 23

Re: PureBasic 6.10 LTS is out !

Posted: Fri Apr 19, 2024 12:07 pm
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)!

Re: PureBasic 6.10 LTS is out !

Posted: Mon Apr 22, 2024 7:36 am
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.

Re: PureBasic 6.10 LTS is out !

Posted: Mon Apr 22, 2024 8:44 am
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. :)

Re: PureBasic 6.10 LTS is out !

Posted: Mon Apr 22, 2024 1:40 pm
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!

Re: PureBasic 6.10 LTS is out !

Posted: Tue Apr 23, 2024 1:35 am
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

Re: PureBasic 6.10 LTS is out !

Posted: Wed Apr 24, 2024 7:18 pm
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!

Re: PureBasic 6.10 LTS is out !

Posted: Thu Apr 25, 2024 9:53 am
by Lord
They opened Pandora's box :twisted:

Re: PureBasic 6.10 LTS is out !

Posted: Thu Apr 25, 2024 2:16 pm
by Caronte3D
:lol: :lol: :mrgreen:

Re: PureBasic 6.10 LTS is out !

Posted: Thu Apr 25, 2024 3:04 pm
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.

Re: PureBasic 6.10 LTS is out !

Posted: Thu Apr 25, 2024 4:45 pm
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.

Re: PureBasic 6.10 LTS is out !

Posted: Thu Apr 25, 2024 4:47 pm
by Fred
True, I plan to add that somewhen (your exe will only work on Win10+).

Re: PureBasic 6.10 LTS is out !

Posted: Fri Apr 26, 2024 1:30 am
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?

Re: PureBasic 6.10 LTS is out !

Posted: Fri Apr 26, 2024 2:02 am
by DeanH
It is part of the Windows SDK. I downloaded it this morning. Barry, I'll email it to you.

Re: PureBasic 6.10 LTS is out !

Posted: Tue Apr 30, 2024 3:01 pm
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:

Re: PureBasic 6.10 LTS is out !

Posted: Tue Apr 30, 2024 3:14 pm
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: