Re: [sqlite] deprecated windows OS calls
Checking the Windows API version doesn't really give much information anyway. The Windows API has undergone almost no changes since its inception (which is why software written for the win32api a decade ago continues to work flawlessly). Pretty much it only is a rough indicator of when Microsoft has lost lawsuits which required them to move some "secret" api's that they used to make only their own products work better available for general use. Whatever it is that is telling you the API is deprecated is lying to you. It is not deprecated and will continue to function forwards forever as long as there is a windows api. WHat it is telling you is that if the windows version is later than 8.1 it will return the compile target version rather than the actual version of the OS, since the version of the OS is irrelevant. https://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx > -Original Message- > From: sqlite-users [mailto:sqlite-users-boun...@mailinglists.sqlite.org] > On Behalf Of Mark Benningfield > Sent: Friday, 4 November, 2016 19:29 > To: sqlite-users@mailinglists.sqlite.org > Subject: [sqlite] deprecated windows OS calls > > Hello all. > > I'm building SQLite from the amalgamation: > > #define SQLITE_VERSION"3.14.1" > #define SQLITE_VERSION_NUMBER 3014001 > #define SQLITE_SOURCE_ID "2016-08-11 18:53:32 > a12d8059770df4bca59e321c266410344242bf7b" > > I'm getting the following compiler warnings: > > WarningC4996'GetVersionExA': was declared deprecated sqlite3 > WarningC4996'GetVersionExW': was declared deprecated sqlite3 > > Is this something I should be concerned about with deployment on Windows > 8/10 boxes? > > Mark Benningfield > > ___ > sqlite-users mailing list > sqlite-users@mailinglists.sqlite.org > http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Re: [sqlite] deprecated windows OS calls
On Fri, Nov 4, 2016 at 7:28 PM, Mark Benningfieldwrote: > Hello all. > > I'm building SQLite from the amalgamation: > > #define SQLITE_VERSION"3.14.1" > #define SQLITE_VERSION_NUMBER 3014001 > #define SQLITE_SOURCE_ID "2016-08-11 18:53:32 > a12d8059770df4bca59e321c266410344242bf7b" > > I'm getting the following compiler warnings: > > WarningC4996'GetVersionExA': was declared deprecated sqlite3 > WarningC4996'GetVersionExW': was declared deprecated sqlite3 > > Is this something I should be concerned about with deployment on Windows > 8/10 boxes? > As long as SQLite isn't using APIs introduced with Windows 8 or later, it shouldn't make a difference. Microsoft might call GetVersionEx "deprecated" but it's still there and supported. The only catch is that it will (apparently) forever report it is an older version of the OS than it really is. -- Scott Robison ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users