RE: Watcom's WINVER ?
- Posted by Brian Broker <bkb at cnw.com> Aug 12, 2004
- 580 views
Wolf wrote: > > Anyone know how Watcom's header files derive their strange decimal > WINVER id's. > ... for example, I know that: > #if (WINVER >= 1280 ) > ... means, at least, NT something or other. > How do they get this number, ?? > ... using either GetVersion(), or GetVersionEx() ?? > I can't speak for Watcom but with MinGW it is defined in windef.h: #ifndef WINVER #define WINVER 0x0400 /* * If you need Win32 API features newer the Win95 and WinNT then you must * define WINVER before including windows.h or any other method of including * the windef.h header. */ #endif -- Brian