On 2010 Feb 28, at 18:02, Xavi wrote: > Hi Viktor, > >> Yes, NTDDI_VERSION is the (best? only?) way to detect >> platform SDK version. > > The only problem is that MinGW does not use NTDDI_VERSION, it uses > _WIN32_WINNT. > At least in my versions of MinGW. :)
Yes, unfortunately the problem with NTDDI_VERSION, is that it's not backward compatible solution (they introduces it quite late), and some 3rd party Windows headers set don't support it (yet). _WIN32_WINNT is nice, but it has other purpose. NTDDI_VERSION = maximum OS version supported by SDK/Windows-headers _WIN32_WINNT = OS version we want to target BTW, the values are also different, to make it simpler. Brgds, Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
