Wireshark mailing list archives

Windows version info


From: Graham Bloice <graham.bloice () trihedral com>
Date: Sun, 8 Dec 2013 21:56:58 +0000

Compiling with VS2013, the GetVersionEx function is now reported as
deprecated:

E:\Wireshark\trunk\version_info.c(368): warning C4996: 'GetVersionExW': was
declared deprecated [E:\Wireshark\2013build\wireshark.vcxproj]
E:\Wireshark\trunk\version_info.c(853): warning C4996: 'GetVersionExW': was
declared deprecated [E:\Wireshark\2013build\wireshark.vcxproj]
E:\Wireshark\trunk\ui\win32\file_dlg_win32.c(451): warning C4996: 'Get
VersionExW': was declared deprecated
[E:\Wireshark\2013build\wireshark.vcxproj]


Should we switch over to using the Version Helpers API and\or
VerifyVersionInfo (and remove a lot of cruft from version_info.c)?  This
has already been partially implemented in ui\win32\file_dlg.c as part of
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9297

Version Helpers API:
http://msdn.microsoft.com/en-us/library/windows/desktop/dn424972(v=vs.85).aspx

--
Graham
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: