DtWinVer LogoDtWinVer v2.05

 

Features
Copyright
History
API Reference
Notes
Contacting the Author

 

 

 

Features

DtWinVer is a C++ class which provides a comprehensive method to determine which OS the program that calls it is running on. All methods it uses are fully documented on various articles on the MSDN. The routine provides the emulated OS as well as the underlying OS. e.g to a DOS program Windows 95 looks like MS-DOS 7.0. A full list of the OS’s it can detect are:

 

 

 

Some of the possible scenarios it can report on are:

 

 

 

Copyright

 

 

 

History

v1.1 (8 May 1997)

v1.2 (13 September 1998)

v1.3 (22 June 1998)

v1.31 (23 July 1999)

v1.32 (26 July 1999)

v1.33 (28 July 1999)

v1.34 (2 February 2000)

v1.35 (30 June 2000)

v1.4 (29 January 2001)

v1.41 (10 February 2001)

v1.42 (10 October 2001)

v1.5 (13 December 2001)

23 March 2002

v1.6 (30 August 2002)

v1.61 (8 October 2002)

v1.62 (11 October 2002)

v1.63 (10 January 2003)

v1.64 (30 January 2003)

v1.65 (8 February 2003)

v1.66 (12 February 2003)

v1.67 (8 March 2003)

v1.68 (10 April 2004)

v1.69 (26 June 2005)

v1.70 (29 June 2005)

v1.71 (22 July 2005)

v1.72 (6 September 2005)

v1.73 (17 May 2006)

v1.74 (21 September 2006)

v1.75 (18 May 2007)

v1.76 (20 June 2007)

v1.77 (14 June 2008)

v1.78 (15 December 2008)

v1.79 (12 February 2009)

v1.80 (5 July 2010)

v1.81 (5 July 2010)

v1.82 (8 August 2010)

v1.83 (21 June 2011)

v1.84 (2 July 2011)

v1.85 (17 September 2011)

v1.86 (28 April 2012)

v1.87 (30 December 2012)

v1.88 (26 May 2013)

v1.89 (7 June 2013)

v1.90 (21 July 2013)

v1.91 (14 April 2014)

v1.92 (1 October 2014)

v1.93 (17 January 2015)

v1.94 (29 April 2015)

v1.95 (30 April 2015)

v1.96 (17 May 2015)

v1.97 (19 September 2015)

v1.98 (4 March 2016)

v1.99 (4 April 2016)

v2.0 (25 July 2016)

v2.01 (17 August 2016)

v2.02 (13 October 2016)

v2.03 (3 January 2017)

v2.04 (12 February 2017)

v2.05 (1 April 2017)

 

 

 

API

The API provided is through a C++ class namely "COSVersion". It provides a number of functions, the most important being "GetVersion" which does the actual version detection. There are a number of additional functions which tell you if a certain "flavour" of an operating system is installed. For more info on how to use the function, please see the code in test.cpp.

 

 

 

Notes

The code uses C++ but does not use MFC. Files are also included which builds a simple application which reports the OS version, through a message box on Windows and stdio in DOS.

The project files included are:

Also included in the winver32/winver14 solution is a sub project to build the WriteVer executable needed for the 16 bit DOS code path in DtWinVer.

Areas where the code may prove useful are:

 

 

 

Contacting the Author

PJ Naughter
Email: pjna@naughter.com
Web: http://www.naughter.com
1 April 2017