ARM64EC runtime packages
RAD Studio 13.2 supports producing and consuming ARM64EC runtime packages with matching ARM64EC RTL and VCL packages; the complete HotXLS370 package has been compiled and executed on Windows ARM64 using this route
The recorded qualification uses the 2.384.417 library sources and compiler version 37.0.60952.8797; the earlier static-application qualification remains a separate build profile
Build the complete runtime package
Use the installed ARM64EC compiler under bin64, the matching release units under lib/winarm64ec/release, the pinned native dependencies under Lib/thirdparty/WinARM64EC, and a Windows SDK containing the UCRT import library
D:/Python/v3.12/python.exe Tools/build_arm64ec_package.py ` --project Lib/HotXLS370.dpk ` --radstudio D:/RadStudio/37.0 ` --sdk-lib "C:/Program Files (x86)/Windows Kits/10/Lib/10.0.26100.0" ` --output dev-notes/arm64ec-package-build-new ` --repo-root C:/losLab/HotXLS
The output directory must be new and separate from source and toolchain directories; the builder uses an isolated source overlay and explicit compiler, linker and unit paths instead of an installed default configuration
The original package requires and contains declarations remain intact; the default full package builds all 134 declared product units and produces the BPL, DCP and package import artifacts
The build record pins product sources, native objects, SDK inputs and toolchain files, checks that they remain unchanged, and verifies ARM64EC object and image metadata plus the package entry points and declared units
Keep package version resources current
A direct DPK build can retain an old .res version even after every Pascal unit is rebuilt; the builder derives the current version from the project metadata and lxVersion.inc, regenerates the VERSION resource inside the overlay and preserves the original non-version resource payloads
The generated PE FileVersion and ProductVersion must agree with the requested library version; inconsistent explicit project version fields reject before building
Use matching package dependencies
Compile a consumer against the generated DCP and runtime packages, with -LU selecting rtl;HotXLS370; keep the library source directory out of its unit search path when verifying package consumption
Deploy the generated HotXLS BPL together with the matching ARM64EC package dependency closure from the same installation; the recorded full build uses RTL, VCL, VCLDB, VCLIMG, VCLWINX, DBRTL and BINDENGINE packages
Classic DCC64 Win64 packages are not interchangeable with ARM64EC packages; check the actual loaded module paths and package architecture when diagnosing a deployment
Recorded native qualification
A real Windows ARM64 guest executes a consumer whose PE imports the generated HotXLS BPL and whose Workbook VMT belongs to that module; SUM calculation, PCRE2 REGEXTEST, XLSX file and memory-stream saving, and reopening all pass
A separate loader imports only RTL, dynamically loads a bridge that requires HotXLS, releases all created objects and confirms both bridge and HotXLS modules have unloaded; a second load and execution also succeeds
Downloaded workbooks independently retain numeric SUM caches and Boolean REGEXTEST caches; the existing static and Free Pascal architecture qualifications do not substitute for these package checks
Command-line compilation, package dependency and architecture inspection, and actual native execution establish this recorded qualification; IDE installation and designer automation are not required for this workflow
See the RAD Studio 13.2 release notes for the vendor runtime-package support boundary