Home > Back-end >  Can you tell me the DELPHI 7 in XE, set the program code as a 64 - bit instead of 32-bit
Can you tell me the DELPHI 7 in XE, set the program code as a 64 - bit instead of 32-bit

Time:09-18

Because to develop 64 program, only to give up the DELPHI 7, turn to XE,

XE2 64 or more to get development, this I know, so installed XE 7,

But don't know how to specify is 64, the Project - the Options, saw only 32 - bit Windows Platform, no 64 - bit optional, compile later also have no,


My system is a flagship Windows 7 64 - bit version, should be no problem ah,

Ask each tall person to give directions, which menu is the entrance?



CodePudding user response:

By default, the engineering manager in the upper left corner in the target platform, if there is no X64, add it, if you installed X64

CodePudding user response:

1, open the XE7;
2, create a new project (or open a project)
3, in the IED's upper right "project manager" dialog, by is the default compiled Win32 code, see below

4, the right mouse button to select "Target Platforms (Win32)", click "Add Platform
"
5, open the "select Platfoem" dialog

6, select the "64 - bit Windows," the mouse to click the "OK" key, "project manager" appear "Target Platforms (Win32)", compile increase 64 set

7, the mouse to click the "Target Platforms (Win32)", open the 32-bit and 64 - bit after the second column "Target Platforms"


Note: each click of the mouse to choose Target Platforms of the 32 - bit Windows or 64 - bit Windows
Target Platforms respectively according to
Target Platforms (win32)
Target Platforms (win64)
Said IDE default compilation approach, is to compile in brackets are 32, or 64 - bit, perform the Run is complete compilation,

CodePudding user response:

An estimated plug-in control does not support project is 64

CodePudding user response:

refer to the second floor lyhoo163 response:
1, open the XE7;
2, create a new project (or open a project)
3, in the IED's upper right "project manager" dialog, by is the default compiled Win32 code, see below

4, the right mouse button to select "Target Platforms (Win32)", click "Add Platform
"
5, open the "select Platfoem" dialog

6, select the "64 - bit Windows," the mouse to click the "OK" key, "project manager" appear "Target Platforms (Win32)", compile increase 64 set

7, the mouse to click the "Target Platforms (Win32)", open the 32-bit and 64 - bit after the second column "Target Platforms"


Note: each click of the mouse to choose Target Platforms of the 32 - bit Windows or 64 - bit Windows
Target Platforms respectively according to
Target Platforms (win32)
Target Platforms (win64)
Said IDE default compilation approach, is to compile in brackets are 32, or 64 - bit, perform the Run is complete compilation,



The Delphi xe can DLL and c #, can achieve the result of any CPU, or is this option affects only compile,
And currently have a project to the c # DLL code rewritten into Delphi DLL, the DLL is called the third party in the DLL, a third-party DLL has both 32-bit and 64 - bit, already can determine the current process is 32-bit or 64 - bit, 32-bit no problem, if the 32-bit call
But
Under this DLL set 64, call 64 DLL (by 32-bit Delphi demo exe start this DLL) load the DLL fails, getlasterror errors as follows: 1% is not a valid win32 application
This DLL set 64, call 64 DLL (by 64 Delphi demo exe start this DLL) program can't start, tip can't scan the program header

CodePudding user response:

Your Dll to edit 32-bit and 64 - bit: My32. Dll My64. Dll
64 judgment in the software system, called a statement a DLL
If sys64 then...
The else...

CodePudding user response:

Control to 64 packages

CodePudding user response:

Supplement: tools - options of Delphi options selected in Library platform can also set the 32 or 64,
Use controls, hovering control will be prompted after the control supports 32 or 64, isn't it support iOS or android,

CodePudding user response:

Component installation also support the 64 version
  • Related