Click here to Skip to main content
15,894,343 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Caption Bar with a Close Button in Dynamic Splitter Window Pin
gregdolley4-Sep-06 22:40
gregdolley4-Sep-06 22:40 
Questionput the tool tips to emptions in chat window Pin
johnalek4-Sep-06 2:10
johnalek4-Sep-06 2:10 
QuestionHow to use use Inline function? Pin
Andy Rama4-Sep-06 1:41
Andy Rama4-Sep-06 1:41 
AnswerRe: How to use use Inline function? Pin
Waldermort4-Sep-06 1:51
Waldermort4-Sep-06 1:51 
AnswerRe: How to use use Inline function? [modified] Pin
Emilio Garavaglia4-Sep-06 2:11
Emilio Garavaglia4-Sep-06 2:11 
QuestionGetting Current Desktop Name Pin
MohammadAmiry4-Sep-06 1:32
MohammadAmiry4-Sep-06 1:32 
AnswerRe: Getting Current Desktop Name Pin
gregdolley4-Sep-06 22:47
gregdolley4-Sep-06 22:47 
Questionusing PDH library to find memory leaks Pin
m.dietz4-Sep-06 1:12
m.dietz4-Sep-06 1:12 
Hi,

In a current project we have massive problems of locating memory leaks, so I was ordered to write a class using the PDH performance log functions that allows to take performance shots (used handles, allocated memory etc.) at specific points. On this way we want to locate which actions of the program are the big memory eaters and where we have to concentrate on, or if the whole problem is a memory leak at all or maybe simply a fragmentation problem.

As I'm new to PDH I wanted to ask, which counters I should use to get the allocated memory of a specific process. I know there is the Page File Bytes counter which shows how much of the Page file is used by the system, but is that all I need? Is there maybe a special counter giving the total amount of memory allocated by a process or do I (or my evaluating Excel-sheet) have to sum up several counters?

Is PDH a component of every Windows XP installation no matter how minimal the installation will be, or do I have to deliver the PDH.dll with my other project dll files just to be sure? Or if I enter the pdh.lib in the link file, it should be linked statically and my class doesn't need the pdh.dll any more, correct?

Bye
Martin Dietz

Oh, BTW I'm using Visual Studio 6.0 programming for Windows XP Professional plattforms, just in case that this influences your answer Roll eyes | :rolleyes:
QuestionWhiteboard feature? Pin
_AnsHUMAN_ 4-Sep-06 1:10
_AnsHUMAN_ 4-Sep-06 1:10 
AnswerRe: Whiteboard feature? Pin
Waldermort4-Sep-06 1:37
Waldermort4-Sep-06 1:37 
Questiondetect down mouse left button Pin
majco3334-Sep-06 0:34
majco3334-Sep-06 0:34 
AnswerRe: detect down mouse left button Pin
toxcct4-Sep-06 0:38
toxcct4-Sep-06 0:38 
GeneralRe: detect down mouse left button Pin
benjymous4-Sep-06 0:55
benjymous4-Sep-06 0:55 
GeneralRe: detect down mouse left button Pin
majco3334-Sep-06 1:08
majco3334-Sep-06 1:08 
GeneralRe: detect down mouse left button Pin
benjymous4-Sep-06 1:16
benjymous4-Sep-06 1:16 
GeneralRe: detect down mouse left button Pin
majco3334-Sep-06 1:33
majco3334-Sep-06 1:33 
GeneralRe: detect down mouse left button Pin
Stephen Hewitt4-Sep-06 2:03
Stephen Hewitt4-Sep-06 2:03 
GeneralRe: detect down mouse left button Pin
toxcct4-Sep-06 2:30
toxcct4-Sep-06 2:30 
AnswerRe: detect down mouse left button Pin
Hamid_RT4-Sep-06 1:07
Hamid_RT4-Sep-06 1:07 
AnswerRe: detect down mouse left button Pin
Stephen Hewitt4-Sep-06 2:01
Stephen Hewitt4-Sep-06 2:01 
GeneralRe: detect down mouse left button Pin
majco3334-Sep-06 2:14
majco3334-Sep-06 2:14 
QuestionMFC ToolsBar Handle Pin
ninolaroca4-Sep-06 0:12
ninolaroca4-Sep-06 0:12 
Questionhow to enable scroll bar in CXListCtrl Pin
Parthiban3-Sep-06 23:52
Parthiban3-Sep-06 23:52 
Questioncan i alter an extension .jpg or bmp file to extension .ico Pin
gentleguy3-Sep-06 23:51
gentleguy3-Sep-06 23:51 
AnswerRe: can i alter an extension .jpg or bmp file to extension .ico Pin
ovidiucucu4-Sep-06 0:07
ovidiucucu4-Sep-06 0:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.