1. Watcom's WINVER ?

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() ??

new topic     » topic index » view message » categorize

2. Re: Watcom's WINVER ?

>  then you must define WINVER before including windows.h or any other method of
>

OK, thanks, I didn't know it was (otherwise) user-defined, so this'll probably
do.

  if hi_word( c_func(GetVersion,{}) ) < #7FFF
    then WINVER=5   -- more or less ;)

... that WM_MOUSELAST is one 'freaky' def..

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu