Igor
Wed Jul 23 06:56:14 CDT 2008
"Daniel" <newsonly@cableone.net> wrote in message
news:OwvhncL7IHA.3260@TK2MSFTNGP03.phx.gbl
> Below I copied and pasted contents of the targetver.h file of a VC
> 2008 project I created. There are three different minimum
> requirements listed for Windows. How does that work?
The reasons are largely historical. Different macros to identify a
targeted Windows version were introduced over a long time, and now all
of them are being used by existing code in any number of combinations.
So, in order not to break old code, all of them must be defined and kept
in sync.
See also
http://msdn.microsoft.com/en-us/library/aa383745.aspx . With
newer SDK versions, you can define a single NTDDI_* macro appropriate
for your project (e.g. in project properties), and SDK headers will
define all the legacy macros based on that.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925