winapi - Use of the function IsWin2000() produces a C++ warning: C4996 - Deprecated Function -
so when using function, iswin2000(), figure out whether or not computer running application running windows 2000, warning:
warning c4996: 'iswin2000': function exported support existing modules , obsolete.
if obsolete, deprecated function, proper way query operating system running? there other way achieve task, or option suppress warning? thanks!
see remarks @ osversioninfo
list of results , how interpret them. see getting system version fledged example.
and lets not forget spec says:
identifying current operating system not best way determine whether particular operating system feature present. because operating system may have had new features added in redistributable dll. rather using getversionex determine operating system platform or version number, test presence of feature itself
Comments
Post a Comment