Thread overview
Predefined Versions : Windows and Win32
Oct 31, 2008
Mike James
Oct 31, 2008
Elrood
Oct 31, 2008
Mike James
October 31, 2008
In the predefined versions there are Windows and Win32 version identifiers - what are the differences and are they interchangable?

Regards, Mike.
October 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.
October 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.