SAMPLE: R1phdmod.exe Finds Memory Leaks & Monitors Objects (215496)



The information in this article applies to:

  • Microsoft Visual C++, 32-bit Enterprise Edition 6.0
  • Microsoft Visual C++, 32-bit Professional Edition 6.0
  • Microsoft Visual C++, 32-bit Learning Edition 6.0

This article was previously published under Q215496

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.

MORE INFORMATION

The following files are available for download from the Microsoft Download Center:
Release Date: March-01-1999

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.

FileNameSize
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.

Modification Type:MajorLast Reviewed:1/26/2006
Keywords:kbdownload kbfile kbinfo kbSample KB215496 kbAudDeveloper