-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows GUI: Upgrade to C++Builder 12 Community Edition #918
Conversation
857c73d
to
6851655
Compare
Use TWebBrowser instead of TCppWebBrowser for all HTML views for compatibility with bcc64x compiler.
More simple and do not need to delay load user32 anymore.
We upgraded to BCB12 without the PRs, then used the PR with the legacy compiler, so merged. We'll test the Win64x build soon. |
We reverted the BCB12 upgrade and switched back to BCB11 because BCB12 compiled binary requires Windows 10 Universal C Runtime (CRT) on Win7 and it is that on a bare metal Win7: We keep the related PRs because it does not hurt to have them. |
Now I see that the 64-bit versions have dependency on UCRT. It ran when I tested with a clean install Windows 7 VM that day. Maybe somehow my Windows 7 ISO has UCRT built-in? Or it got installed by MSVC runtime? |
I can not say about that, I can only see that with a 10 year old VM with Win7 SP1 installed 10 years ago, the behavior is different between BCB11 and BCB12 compilation (only that was changed), and I am afraid that there are still installs with a such configuration, without knowing how many people would be impacted. Detection of the lack of UCRT and download+install of it could be an alternative, but some additional work (also managing cases without internet connexion on the target machine with a hint for downloading the missing stuff on another machine) and I don't see as needed until we have a good reason to use an up to date LLVM/Clang instead of a 8+ year old one enough for us for the moment, especially with BCC32X still using the old one. Long story short, for the moment I prefer to stay as it is now (patches in source code for BCB12 compatibility but still released with BCB11). |
Putting this here for future reference. No longer reproducible after PR944:
Appears to be caused by doing Clean and Build in the same MSBuild command which works with Visual Studio projects:
Expected updates to BCC64X in version 12.2 (no community edition available yet): |
Win64
toWin64x
in BuildRelease.bat.Note:
Looks like it is still not possible to enable CFG and CET even though the new bcc64x toolchain is based on LLVM/Clang 15.0.