Click here to Skip to main content
15,898,607 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralGetWindowOrg fails..my metafile export is not working.... Pin
Dimitris Vikeloudas4-Feb-05 0:25
Dimitris Vikeloudas4-Feb-05 0:25 
Question. MAPI Error ? Pin
im4help3-Feb-05 23:35
im4help3-Feb-05 23:35 
AnswerRe: . MAPI Error ? Pin
Antony M Kancidrowski4-Feb-05 1:59
Antony M Kancidrowski4-Feb-05 1:59 
GeneralAlt + Tab Icon Pin
shiraztk3-Feb-05 23:33
shiraztk3-Feb-05 23:33 
QuestionHow can i parse a command line in an SDI application? Pin
IronMike3-Feb-05 23:32
IronMike3-Feb-05 23:32 
AnswerRe: How can i parse a command line in an SDI application? Pin
Anthony_Yio4-Feb-05 0:54
Anthony_Yio4-Feb-05 0:54 
GeneralRe: How can i parse a command line in an SDI application? Pin
Rick York4-Feb-05 7:07
mveRick York4-Feb-05 7:07 
GeneralMemory used by Pocess. Pin
Member 17079243-Feb-05 23:23
Member 17079243-Feb-05 23:23 
Hi I have a process(root) which spawns other processes to get its work done. These children in turn may spawn more processes and so on. I want to obtain the memory used by all of these processes at a point of time from the root process(very 1st process).
So, I neeed 2 things:

First is to obtain all the process handles of this process tree.
So, Is there a way to find all the child processes for a particular process. Right now I am using "CreateToolhelp32Snapshot" to obtain a snapshot of all the processes in the system and then looking for the processes which have root process as their parent. Doing this recursively to obtain the whole process tree.
Is there a better approach available for doing this?

Secondly, get the memory used by process. Is there an API available to do this? Can not use "PSAPI" as its not for Win95, 98.

Thanx
kapil
GeneralRe: Memory used by Pocess. Pin
David Crow4-Feb-05 3:22
David Crow4-Feb-05 3:22 
GeneralRe: Memory used by Pocess. Pin
Blake Miller7-Feb-05 5:44
Blake Miller7-Feb-05 5:44 
QuestionHow to create new level in multilevel CTreeView Pin
bilas3-Feb-05 22:13
bilas3-Feb-05 22:13 
AnswerRe: How to create new level in multilevel CTreeView Pin
shiraztk4-Feb-05 0:53
shiraztk4-Feb-05 0:53 
GeneralRe: How to create new level in multilevel CTreeView Pin
bilas4-Feb-05 2:11
bilas4-Feb-05 2:11 
QuestionHow to realize FIND-function in class CHTMLView? Pin
bilas3-Feb-05 22:10
bilas3-Feb-05 22:10 
AnswerRe: How to realize FIND-function in class CHTMLView? Pin
Sheng Jiang 蒋晟6-Feb-05 14:08
Sheng Jiang 蒋晟6-Feb-05 14:08 
GeneralDialog Control Pin
nchannon3-Feb-05 21:55
nchannon3-Feb-05 21:55 
GeneralRe: Dialog Control Pin
RChin3-Feb-05 23:02
RChin3-Feb-05 23:02 
GeneralRe: Dialog Control Pin
nchannon4-Feb-05 7:43
nchannon4-Feb-05 7:43 
General3d Plot in Visual C++ 6.0 Pin
andand3-Feb-05 21:45
andand3-Feb-05 21:45 
GeneralRe: 3d Plot in Visual C++ 6.0 Pin
krmed4-Feb-05 1:37
krmed4-Feb-05 1:37 
GeneralDate Time Picker Pin
LiYS3-Feb-05 21:34
LiYS3-Feb-05 21:34 
GeneralRe: Date Time Picker Pin
Anthony_Yio3-Feb-05 21:57
Anthony_Yio3-Feb-05 21:57 
GeneralRe: Date Time Picker Pin
LiYS3-Feb-05 23:02
LiYS3-Feb-05 23:02 
GeneralRe: Date Time Picker Pin
RChin3-Feb-05 23:21
RChin3-Feb-05 23:21 
GeneralRe: Date Time Picker Pin
LiYS4-Feb-05 3:04
LiYS4-Feb-05 3:04 

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.