Click here to Skip to main content
15,892,839 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Exporting in a DLL Pin
Frank K7-Sep-06 0:08
Frank K7-Sep-06 0:08 
GeneralRe: Exporting in a DLL Pin
Programm3r7-Sep-06 0:12
Programm3r7-Sep-06 0:12 
GeneralRe: Exporting in a DLL Pin
Jörgen Sigvardsson7-Sep-06 1:22
Jörgen Sigvardsson7-Sep-06 1:22 
GeneralRe: Exporting in a DLL Pin
Programm3r7-Sep-06 1:42
Programm3r7-Sep-06 1:42 
Questionwhich pdh counters can be used for process memory surveillance Pin
m.dietz6-Sep-06 23:15
m.dietz6-Sep-06 23:15 
AnswerRe: which pdh counters can be used for process memory surveillance Pin
David Crow7-Sep-06 3:55
David Crow7-Sep-06 3:55 
GeneralRe: which pdh counters can be used for process memory surveillance Pin
m.dietz10-Sep-06 22:47
m.dietz10-Sep-06 22:47 
GeneralRe: which pdh counters can be used for process memory surveillance Pin
David Crow11-Sep-06 2:40
David Crow11-Sep-06 2:40 
m.dietz wrote:
but which counter to use to get the memory information.


I thought that's what that link would provide, but after looking at it, the post does indeed not match the subject. I'm not quite sure how that happened. Anyway, the three counters that I've used in the past are:

pdhCpe.szMachineName    = TEXT("your machine");
pdhCpe.szObjectName     = TEXT("Memory");
pdhCpe.szCounterName    = TEXT("Available Bytes");
...
// same machine and object as above
pdhCpe.szCounterName = TEXT("Cache Bytes");
...
// same machine as above
pdhCpe.szObjectName   = TEXT("Process");
pdhCpe.szInstanceName = TEXT("_Total");
pdhCpe.szCounterName  = TEXT("Working Set");




"Talent without discipline is like an octopus on roller skates. There's plenty of movement, but you never know if it's going to be forward, backwards, or sideways." - H. Jackson Brown, Jr.

"Judge not by the eye but by the heart." - Native American Proverb


QuestionWhich Classtype determine? Pin
bosfan6-Sep-06 22:45
bosfan6-Sep-06 22:45 
AnswerRe: Which Classtype determine? Pin
prasad_som6-Sep-06 22:52
prasad_som6-Sep-06 22:52 
AnswerRe: Which Classtype determine? Pin
_AnsHUMAN_ 6-Sep-06 23:04
_AnsHUMAN_ 6-Sep-06 23:04 
AnswerRe: Which Classtype determine? Pin
Rinu_Raj6-Sep-06 23:09
Rinu_Raj6-Sep-06 23:09 
GeneralRe: Which Classtype determine? Pin
bosfan7-Sep-06 5:19
bosfan7-Sep-06 5:19 
QuestionHow to ReTabOrder Pin
huynhnb6-Sep-06 22:33
huynhnb6-Sep-06 22:33 
QuestionRe: How to ReTabOrder Pin
Hamid_RT8-Sep-06 7:01
Hamid_RT8-Sep-06 7:01 
AnswerRe: How to ReTabOrder Pin
huynhnb8-Sep-06 16:12
huynhnb8-Sep-06 16:12 
QuestionHow to solve this question??? Pin
sinbear6-Sep-06 22:19
sinbear6-Sep-06 22:19 
AnswerRe: How to solve this question??? Pin
toxcct6-Sep-06 22:21
toxcct6-Sep-06 22:21 
JokeRe: How to solve this question??? Pin
Programm3r6-Sep-06 22:25
Programm3r6-Sep-06 22:25 
AnswerRe: How to solve this question??? Pin
Hamid_RT6-Sep-06 22:32
Hamid_RT6-Sep-06 22:32 
AnswerRe: How to solve this question??? Pin
David Crow7-Sep-06 3:54
David Crow7-Sep-06 3:54 
AnswerRe: How to solve this question??? Pin
Rilhas8-Sep-06 9:07
Rilhas8-Sep-06 9:07 
GeneralRe: How to solve this question??? Pin
sinbear8-Sep-06 21:51
sinbear8-Sep-06 21:51 
Questionios::good not very 'good'? Pin
jon-806-Sep-06 22:18
professionaljon-806-Sep-06 22:18 
AnswerRe: ios::good not very 'good'? Pin
Sebastian Schneider7-Sep-06 0:49
Sebastian Schneider7-Sep-06 0:49 

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.