HotXLS Docs

Delphi ARM64EC static applications

Version 2.384.137 brings a static Delphi application build path for Windows on ARM64 using the RAD Studio 37.0 dccarm64ec.exe compiler, the matching ARM64EC RTL and pinned native dependencies

Build an application

Install Python 3, RAD Studio with the ARM64EC compiler and RTL, and a Windows SDK that contains the x64 UCRT import library, then run the helper from the HotXLS root

python Tools/build_arm64ec.py C:/Projects/MyApp/MyApp.dpr --radstudio D:/RadStudio/37.0 --sdk-lib "C:/Program Files (x86)/Windows Kits/10/Lib/10.0.26100.0" --output C:/Build/MyApp-arm64ec

The output directory must be new and set aside for this build; supply extra application directories through repeated --unit-path and --include-path options, with conditional symbols supplied through repeated --define options

The helper rebuilds the Delphi units, links the five native dependency inputs explicitly, validates every payload hash and the ARM64EC COFF architecture, and checks the executable for ARM64EC CHPE metadata

The SDK UCRT import library is copied to the output directory as ucrt-import.lib; the SDK library comes from your installed toolchain and is not redistributed with HotXLS

build-results.json records the compiler, project, dependency manifest, import library, build log and executable hashes; a successful build never executes the application

Native dependencies and rebuilding

The payload includes PCRE2 10.49 with 16-bit code units and no JIT, zlib-ng 2.3.90 in ZLIB_COMPAT mode with portable CPU code, plus portable AES and allocator bridges bound to the Delphi memory manager

The Full installation includes the build helpers, objects, manifests and licences; rebuilding the native objects additionally needs the complete HotXLS source distribution with its vendored dependency source trees, RAD Studio LLVM 20, MSVC headers, a Windows SDK, CMake and Ninja

python Tools/rebuild_arm64ec_dependencies.py --radstudio D:/RadStudio/37.0 --msvc "C:/Program Files/Microsoft Visual Studio/18/Professional/VC/Tools/MSVC/14.51.36231" --sdk-include "C:/Program Files (x86)/Windows Kits/10/Include/10.0.26100.0" --cmake D:/Tools/CMake/bin/cmake.exe --ninja D:/Tools/bin/ninja.exe --output C:/Build/HotXLS-arm64ec-native

The rebuild checks 653 pinned source inputs and creates a separate payload without replacing the shipped objects; COFF timestamps and embedded paths can alter hashes, so adopt a rebuilt payload together with its updated manifest and a linked application check

Qualification and deployment scope

Native Windows on ARM64 execution covers workbook, calculation, compression, cryptography and regular-expression programs, including the 6317-check Classic workbook program and a 380-check Delphi/VCL integration counterpart; these results keep their individual candidate source manifests

The final integration uses a focused static application check rather than repeating the historical matrix; the build receipt and the runtime result stay separate evidence

Runtime BPL loading, design-time IDE installation and C++Builder package integration remain outstanding; the existing Win64x project profile describes an x64 C++ target and does not select ARM64EC

Native ARM64 Free Pascal and Lazarus applications use their separate Windows ARM64 support path