简体   繁体   中英

Embarcadero Delphi XE8 under 64 bit Windows 8.1

The result of compiling my project using Delphi XE8 under 64 bit Windows 8.1 is 64 bit executable OK.

Is it possible to set Delphi XE8 up to compiles 32 bit executable, because it will be used under Windows XP 32 bit computer?

The result of compiling my project using Delphi XE8 under 64 bit Windows 8.1 is 64 bit executable OK.

Only if you specifically opt to compile a 64 bit executable.

Is it possible to set Delphi XE8 up to compiles 32 bit executable, because it will be used under Windows XP 32 bit computer?

Yes it it possible to target 32 bit executables. Since Delphi XE2, two Delphi compilers for Windows have been supplied, a 32 bit compiler and a 64 bit compiler. It's entirely up to you which one you choose. You can perfectly well compile 32 and 64 bit applications even though you run the compiler on a 64 bit operating system.

This is all controlled by the project settings. In the Project Manager there is a node named Target Platform . Select Win32 for a 32 bit Windows program, or Win64 for a 64 bit Windows program. By default, new projects are only configured with settings for Win32. You have to explicitly add a new target platform to enable Win64.

You should spend some time familiarising yourself with this area, starting with this documentation topic: http://docwiki.embarcadero.com/RADStudio/XE8/en/Activating_and_Configuring_the_Target_Platform

Now, you specifically mentioned XP 32 bit. That target is no longer supported by Delphi. What that means in practise is that Embarcadero no longer tests on XP. The latest versions of Delphi can still produce executables that execute correctly on XP, but there is a danger that you might call API functions that don't exist on XP. So, there is a strong need for you to test your executable file on XP, if you wish to continue supporting XP.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM