1

Topic: The different code for Win32 and Win64 - the unit "does not see" CPU64 directive

Good afternoon!
I connect JwaWinBase, there full such constructions:
{$ifdef CPU64}
...
{$else}
...
{$endif CPU64}
And here at the 64bit-platform assembly all the same collects from $else (tries to collect, does not transit).
If to add in the unit beginning {$define CPU64} the project gathers as Win64
Explicitly I do something incorrectly, hardly so is conceived - to add something in this unit.
Prompt, what I do not so?
PS And a passing silly question: if application and so works as 32-bit, whether is sense to do the 64-bit assembly? smile
Thanks!

2

Re: The different code for Win32 and Win64 - the unit "does not see" CPU64 directive

CPUX64

3

Re: The different code for Win32 and Win64 - the unit "does not see" CPU64 directive

Devillio;
In different versions  different , they it is simple did not consider.
In properties of a 64-bit configuration (debug | release) to register determination CPU64 and all.

4

Re: The different code for Win32 and Win64 - the unit "does not see" CPU64 directive

alekcvp, many thanks!
Yes, simply added also all)