Click here to Skip to main content
15,897,187 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: thread with Message loop Pin
Justin Tay6-May-06 17:29
Justin Tay6-May-06 17:29 
GeneralRe: thread with Message loop Pin
Jim Crafton6-May-06 17:50
Jim Crafton6-May-06 17:50 
GeneralRe: thread with Message loop Pin
Jörgen Sigvardsson6-May-06 23:11
Jörgen Sigvardsson6-May-06 23:11 
GeneralRe: thread with Message loop Pin
Stephen Hewitt6-May-06 19:39
Stephen Hewitt6-May-06 19:39 
GeneralRe: thread with Message loop Pin
Ryan Binns7-May-06 13:50
Ryan Binns7-May-06 13:50 
AnswerRe: thread with Message loop Pin
Ravi Bhavnani7-May-06 11:47
professionalRavi Bhavnani7-May-06 11:47 
QuestionGetting allocated memory by a process!!! Pin
ThiagoFragoso6-May-06 10:17
ThiagoFragoso6-May-06 10:17 
AnswerRe: Getting allocated memory by a process!!! Pin
Osama E. Adly7-May-06 6:18
Osama E. Adly7-May-06 6:18 
you can use GetProcessMemoryInfo to get amount of memory (in Kb) allocated for process as following :

<br />
PROCESS_MEMORY_COUNTERS pmc;<br />
if ( GetProcessMemoryInfo( hProcess, &pmc, sizeof(pmc)) )<br />
{<br />
  CString s3;<br />
  s3.Format( "amount of memory (in Kb) allocated for process: %ld\n", pmc.WorkingSetSize/1024 );<br />
}<br />


Use the WorkingSetSize member of the PROCESS_MEMORY_COUNTERS structure to get
amount of memory (in Kb) allocated for process.

Osama E. Adly
QuestionULARGE_INTEGER Pin
G_S6-May-06 9:46
G_S6-May-06 9:46 
AnswerRe: ULARGE_INTEGER Pin
Maxwell Chen6-May-06 13:55
Maxwell Chen6-May-06 13:55 
QuestionMainFraim - Child - file extansion Pin
tbrake6-May-06 9:38
tbrake6-May-06 9:38 
QuestionIntellisense question - function headers Pin
Phil Francis6-May-06 8:34
Phil Francis6-May-06 8:34 
AnswerRe: Intellisense question - function headers Pin
Maxwell Chen6-May-06 8:45
Maxwell Chen6-May-06 8:45 
GeneralRe: Intellisense question - function headers Pin
Phil Francis6-May-06 9:10
Phil Francis6-May-06 9:10 
GeneralRe: Intellisense question - function headers Pin
Maxwell Chen6-May-06 9:13
Maxwell Chen6-May-06 9:13 
GeneralRe: Intellisense question - function headers Pin
Phil Francis6-May-06 15:34
Phil Francis6-May-06 15:34 
AnswerRe: Intellisense question - function headers Pin
Maxwell Chen6-May-06 16:06
Maxwell Chen6-May-06 16:06 
AnswerRe: Intellisense question - function headers Pin
Gary R. Wheeler7-May-06 4:22
Gary R. Wheeler7-May-06 4:22 
QuestionChange Gamma Ramp Pin
Robsori6-May-06 4:41
Robsori6-May-06 4:41 
AnswerRe: Change Gamma Ramp Pin
Chris Losinger6-May-06 16:10
professionalChris Losinger6-May-06 16:10 
GeneralRe: Change Gamma Ramp Pin
Robsori6-May-06 21:33
Robsori6-May-06 21:33 
QuestionGDI/GDI+ In Flight Simulator 2004 Pin
seefer6-May-06 3:46
seefer6-May-06 3:46 
AnswerRe: GDI/GDI+ In Flight Simulator 2004 Pin
Jim Crafton6-May-06 17:48
Jim Crafton6-May-06 17:48 
GeneralRe: GDI/GDI+ In Flight Simulator 2004 Pin
seefer7-May-06 2:11
seefer7-May-06 2:11 
Questionconvert int to string Pin
sunita ramesh6-May-06 2:58
sunita ramesh6-May-06 2:58 

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.