SAMPLE: R1phdmod.exe Finds Memory Leaks & Monitors Objects

ID: Q215496


The information in this article applies to:


SUMMARY

R1phdmod.exe is a sample that contains the source code for an ATL component that wraps the CPhd PDH performance class. You can use the COM component in Java, Visual Basic or Visual Basic Script applications to monitor resources. This sample contains the complete source to the ATL object documented in the January 1999 MSDN, Finding Leaks and Bottlenecks with a Windows NT PerfMon COM Object. To see the MSDN text, go to the following Web page:

http://msdn.microsoft.com/isapi/msdnlib.idc?theURL=/library/techart/perfmon.htm


MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

R1phdmod.exe
Release Date: March-01-1999

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:
Q119591 How to Obtain Microsoft Support Files from Online Services


FileName Size
dlldata.c 837
PDH.DLL 59152
R1PHDmod.aps 3636
R1PHDmod.cpp 1965
R1PHDmod.def 224
R1PHDmod.dsp 13111
R1PHDmod.dsw 539
R1PHDmod.h 10312
R1PHDmod.idl 1253
R1PHDmod.ncb 82944
R1PHDmod.opt 55808
R1PHDmod.plg 2268
R1PHDmod.rc 2854
R1PHDmod.tlb 2140
R1PHDmodps.def 250
R1PHDmodps.mk 466
R1PHDmod_i.c 1160
R1PHDmod_p.c 34964
resource.h 501
rkLeak.cpp 9848
rkLeak.h 1231
rx4Leaks.cpp 3935
rx4Leaks.h 1501
rx4Leaks.rgs 632
StdAfx.cpp 315
StdAfx.h 908


Build the R1PhdMod project with Visual C++ 6.0 to register the R1PhdMod component. The VBclient directory contains a Visual Basic 6.0 project that demonstrates how to use R1PhdMod. After R1PhdMod is registered, you must add it to the Visual Basic project by selecting Components from the Project menu.

The vjClient directory contains a Windows Foundation Classes for Java sample that demonstrates how to use the R1PhdMod component from Java.

Additional query words:


Keywords          : kbfile kbsample kbDatabase kbVBp600 kbVBScript kbVC600 kbVJ600 kbVS600 
Version           : WINDOWS:6.0; winnt:6.0
Platform          : WINDOWS winnt 
Issue type        : 

Last Reviewed: March 10, 1999