On 8/26/2013 19:42, Zenju wrote:
> Hi,
> 
> I'm currently testing x32-4.8.1-release-win32-dwarf-rev4 and am planning
> to migrate away from the MinGW.org distribution. It all seems to work
> fine except for one major showstopper:
> 
> My application is supporting Windows XP upwards, but some Windows
> features are not yet available on XP. Therefore I load them dynamically
> via Win32 GetProcAddress (e.g. SetFileInformationByHandle). This works
> fine except that the enums and structures required, are if-defed away by
> mingw-32!
> 

> I can't use this enum because _WIN32_WINNT is kept at the default value
> 0x0502 (XP). Therefore I suggest to remove those #ifdefs from
> structures, but only place them around the functions!
> 

No, just define _WIN32_WINNT yourself. Like it or not, you are using
Vista calls.


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to