DynData v1.01 A collection of MFC classes to encapsulate the Windows 9x performance counters
Ever wanted to write some code to determine the amount of bytes sent or
received by Dial-Up Networking, what is the current CPU Usage or how many
threads are currently running on the system?. The classes provided allow you do
query any of these parameters, or to query the availability of performance
objects and their counters both on the local machine and any machine on the
network. Please note that these classes are not designed to be used on NT, 2000,
XP, 2003, Vista. If you would like to retrieve performance stats on these
operating systems, please see the author's CPdh wrapper classes.
- Simple and clean C++ interface based.
- The classes are fully Unicode compliant
(even though HKEY_DYN_DATA is not available on NT <g>)
- Full documentation is provided in the form
of a HTML file
The enclosed zip file contains the source code and a simple console based application which
exercises the class.
- You are allowed to include the source code in
any product (commercial, shareware, freeware or otherwise) when your product
is released in binary form.
- You are allowed to modify the source code in
any way you want except you cannot modify the copyright details at the top
of each module.
- If you want to distribute source code with
your application, then you are only allowed to distribute versions released
by the author. This is to maintain a single distribution point for the
V1.0 (31 January 1999)
V1.01 (10 January 2007)
- Updated copyright details.
- Addition of a DYNDATA_EXT_CLASS preprocessor macro to allow the classes
to be more easily added to an extension dll
- Optimized CDynDataObject constructor code.
- Reviewed all TRACE statements for correctness
- Code now uses newer C++ style casts instead of C style casts.
- Item data value passed to the various enumeration functions is now a DWORD_PTR
instead of a DWORD
- ENUMERATE_DYNDATA_OBJECT_COUNTERS is now declared in the CDynDataObject
- ENUMERATE_DYNDATA_OBJECTS is now declared in the CDynDataEnumerator class
- Updated the code to clean compile on VC 2005
- Fixed a bug in the calculation of the buffer sizes passed to RegQueryValueEx
- General code cleanup and code review
- Updated documentation to use the same style as the web site
19 June 2016
- Please note that as Windows 9x has been out of support since July 2006
which was the end date of Windows ME extended support, I have discontinued
development of this code and it is obsolete.