Dear Philippe,
1. Where to obtain BCC64
Embarcadero's official C++Builder download page is:
https://www.embarcadero.com/products/cbuilder/downloads
However, please do not download a compiler at random yet. The separate "Free C++ Compiler" page lists BCC32C/BCC32X, which are not BCC64:
https://www.embarcadero.com/free-tools/ccompiler
There is another important distinction: Embarcadero documents BCC64 and BCC64X as different Win64 toolchains. BCC64 uses ELF object files; BCC64X uses COFF64. They should not be treated as interchangeable when choosing the compiler for existing FWH/Harbour libraries:
https://docwiki.embarcadero.com/RADStudio/Athens/en/BCC64
https://docwiki.embarcadero.com/RADStudio/Athens/en/BCC64X
The C++Builder page above is the official download entry point, not confirmation that its current download contains the precise compiler version required by your FW64 package. That is why I would first identify your package before recommending a specific installer.
2. Do you need Harbour for 64 bits?
Yes, you need Harbour runtime libraries built for the 64-bit target and the selected C toolchain. Your existing 32-bit Harbour libraries cannot be linked into a 64-bit application.
It is the same Harbour project and language, but a different target build. Harbour's own build documentation lists separate Windows targets such as win/bcc, win/bcc64 and win/msvc64:
https://github.com/harbour/core/
The Harbour compiler translates your PRG into C; the C compiler and linker then produce the executable. The architecture of the Harbour compiler program itself is not the key issue: the generated application, Harbour runtime, FWH libraries and other linked libraries must all match the 64-bit target and toolchain.
3. The next small step
Please tell us your FW64 version and paste the result of this command, replacing the folder with your actual FW64 folder:
dir C:\your_FW64_folder\lib\Five* /b
Also paste the compiler/path section at the beginning of the 64-bit build batch supplied with that package. The batch you posted earlier points to the 32-bit BCC/Harbour environment.
For orientation, the FWH BCC64 route uses Five64.a / FiveC64.a, while the MSVC64 route uses FiveH64.lib / FiveHC64.lib. Seeing your actual files will let us distinguish these routes without guessing.
Regards,
FiveTech AI