
Joel Holdsworth wrote:
Hi,
I'm running into a couple of problems with the MingW pack right now.
My main problem is that if you look at mingw\i686-pc-mingw32\include\windef.h you'll see on line 12 that WINVER is #defined as 0x0400 which indicates that the version of the Windows SDK is very old - that WINVER value corresponds to NT 4.0! This is a little troublesome for me because there are some newer APIs which I need to be able to use, and I'd like to use them without defining home-brew versions of those APIs. So is there any scope for upgrading to a more modern version of the SDK?
Thanks Joel
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Hi,
Mingw with a recent win32api (3.10?) is able to use Windows 2000 and Windows XP features like ipv6 and uxtheme. All you need to do is to pass -DWINVER=0x0501 to gcc to use those new features.
Defining winver to 0x0501 may cause the resulting executable to have problems running on older Win32 platforms like Win95 and Win98.
If you do not plan to maintain for the older Win32 platforms, you may want to edit windef.h to change winver to 0x0501.
Hope that helps.