[PB 6.20] New compiler option “Use shared UCRT”

Everything else that doesn't fall into one of the other PB categories.
Little John
Addict
Addict
Posts: 4777
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

[PB 6.20] New compiler option “Use shared UCRT”

Post by Little John »

Fred, is the new compiler option
[v] Use shared UCRT (Windows 10 and above)
only for use with the C-Backend, or does it also have an effect when compiling a program with the ASM-backend?
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [PB 6.20] New compiler option “Use shared UCRT”

Post by Fred »

It works for both.
Little John
Addict
Addict
Posts: 4777
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [PB 6.20] New compiler option “Use shared UCRT”

Post by Little John »

I see. Thank you for the information!
BarryG
Addict
Addict
Posts: 4123
Joined: Thu Apr 18, 2019 8:17 am

Re: [PB 6.20] New compiler option “Use shared UCRT”

Post by BarryG »

If enabled, will my compiled exe still run on Win 7, or does it require Win 10 and later?
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [PB 6.20] New compiler option “Use shared UCRT”

Post by Fred »

Win10 or above
User_Russian
Addict
Addict
Posts: 1518
Joined: Wed Nov 12, 2008 5:01 pm
Location: Russia

Re: [PB 6.20] New compiler option “Use shared UCRT”

Post by User_Russian »

Applications compiled in PB 6.2x, with option “Use shared UCRT”, work fine for me in Windows 7 x64.
In Windows 7, it was installed "VS 2015 - 2022 Redistributable" https://learn.microsoft.com/en-us/cpp/w ... -vc-redist
BarryG
Addict
Addict
Posts: 4123
Joined: Thu Apr 18, 2019 8:17 am

Re: [PB 6.20] New compiler option “Use shared UCRT”

Post by BarryG »

So the exe with UCRT should run fine on Win 7 without the user installing anything?
Quin
Addict
Addict
Posts: 1125
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: [PB 6.20] New compiler option “Use shared UCRT”

Post by Quin »

BarryG wrote: Sun Jun 08, 2025 6:58 am So the exe with UCRT should run fine on Win 7 without the user installing anything?
No, from the sound of it it'll work fine if they install the MSVC++ 2015-2022 runtimes, needed by many modern apps.
BarryG
Addict
Addict
Posts: 4123
Joined: Thu Apr 18, 2019 8:17 am

Re: [PB 6.20] New compiler option “Use shared UCRT”

Post by BarryG »

Ah... oh well, I won't enable it then.
User avatar
bluefish
New User
New User
Posts: 4
Joined: Thu Apr 10, 2025 1:47 pm

Re: [PB 6.20] New compiler option “Use shared UCRT”

Post by bluefish »

My main system is running stock Windows 7 x64 SP1. No updates, none, zero. It is working perfectly for my use. Why change something that's not broken ? And it is so fast to boot and shutdown !

My next system in a few years will be Linux Mint. Thankfully Purebasic works there as well.
Post Reply