digitalmars.D.learn - Predefined Versions : Windows and Win32
- Mike James (2/2) Oct 31 2008 In the predefined versions there are Windows and Win32 version identifie...
- Elrood (11/11) Oct 31 2008 Win32
- Mike James (3/15) Oct 31 2008 Thanks, I'll do that.
In the predefined versions there are Windows and Win32 version identifiers - what are the differences and are they interchangable? Regards, Mike.
Oct 31 2008
Win32 / Windows \ Win64 Since there is no Win64 version for DMD (and this probably will not change for quite some time) version(Windows) and version(Win32) are pretty much interchangable. Unless your code is win32-specific, you should nonetheless use version(Windows) to be future-proof, for alternative compilers such as LDC and GDC, which will probably support 64bit Windows sooner than DMD, and just generally to do it right.
Oct 31 2008
Elrood Wrote:Win32 / Windows \ Win64 Since there is no Win64 version for DMD (and this probably will not change for quite some time) version(Windows) and version(Win32) are pretty much interchangable. Unless your code is win32-specific, you should nonetheless use version(Windows) to be future-proof, for alternative compilers such as LDC and GDC, which will probably support 64bit Windows sooner than DMD, and just generally to do it right.Thanks, I'll do that. Regards, Mike.
Oct 31 2008