Click here to Skip to main content
15,911,306 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOOP Question Pin
mehmetned22-Apr-08 4:54
mehmetned22-Apr-08 4:54 
GeneralRe: OOP Question Pin
Iain Clarke, Warrior Programmer22-Apr-08 5:27
Iain Clarke, Warrior Programmer22-Apr-08 5:27 
GeneralRe: OOP Question Pin
Hamid_RT22-Apr-08 7:12
Hamid_RT22-Apr-08 7:12 
GeneralRe: OOP Question Pin
Maximilien22-Apr-08 7:37
Maximilien22-Apr-08 7:37 
GeneralRe: OOP Question Pin
led mike22-Apr-08 8:34
led mike22-Apr-08 8:34 
Generalkeep text selected in richedit Pin
code_discuss22-Apr-08 3:42
code_discuss22-Apr-08 3:42 
GeneralRe: keep text selected in richedit Pin
Iain Clarke, Warrior Programmer22-Apr-08 3:48
Iain Clarke, Warrior Programmer22-Apr-08 3:48 
GeneralRequest program's memory usage Pin
William Engberts22-Apr-08 3:17
William Engberts22-Apr-08 3:17 
Hi you all,

I am writing a multi-threaded program that will have to run continuously. Since the program uses a lot of memory allocations (next to my own allocations, MFC will also do some of that when using CStrings and all that) I want to be able to monitor the program's memory usage at any one given time. Does anyone know of a way to request the total amount of memory used by the program through some C++ statement(s), so that I can report this usage in a tracefile while the program is running.

Any ideas are highly appreciated.

Regards,
William Engberts
GeneralRe: Request program's memory usage Pin
led mike22-Apr-08 4:36
led mike22-Apr-08 4:36 
GeneralRe: Request program's memory usage Pin
William Engberts22-Apr-08 4:47
William Engberts22-Apr-08 4:47 
GeneralRe: Request program's memory usage Pin
David Crow22-Apr-08 4:39
David Crow22-Apr-08 4:39 
GeneralODBC connection string for SQL Server 2005 Pin
sirtimid22-Apr-08 2:43
sirtimid22-Apr-08 2:43 
QuestionRe: ODBC connection string for SQL Server 2005 Pin
David Crow22-Apr-08 4:41
David Crow22-Apr-08 4:41 
GeneralRe: ODBC connection string for SQL Server 2005 Pin
sirtimid22-Apr-08 4:45
sirtimid22-Apr-08 4:45 
QuestionRe: ODBC connection string for SQL Server 2005 Pin
David Crow22-Apr-08 4:51
David Crow22-Apr-08 4:51 
GeneralRe: ODBC connection string for SQL Server 2005 Pin
sirtimid22-Apr-08 4:59
sirtimid22-Apr-08 4:59 
QuestionAciveX Spreadsheet visual studio 2005 C++ Pin
rsauze22-Apr-08 1:47
rsauze22-Apr-08 1:47 
QuestionFile Open/Close? Pin
ritz123422-Apr-08 1:26
ritz123422-Apr-08 1:26 
AnswerRe: File Open/Close? Pin
Hamid_RT22-Apr-08 1:45
Hamid_RT22-Apr-08 1:45 
GeneralRe: File Open/Close? Pin
ritz123422-Apr-08 1:48
ritz123422-Apr-08 1:48 
AnswerRe: File Open/Close? Pin
Rajkumar R22-Apr-08 2:41
Rajkumar R22-Apr-08 2:41 
QuestionLimit for worker threads? Pin
bosfan22-Apr-08 1:08
bosfan22-Apr-08 1:08 
AnswerRe: Limit for worker threads? Pin
Iain Clarke, Warrior Programmer22-Apr-08 1:18
Iain Clarke, Warrior Programmer22-Apr-08 1:18 
GeneralRe: Limit for worker threads? Pin
bosfan22-Apr-08 1:48
bosfan22-Apr-08 1:48 
GeneralDialog based application Vs Document view Architure Pin
nisha0000022-Apr-08 0:36
nisha0000022-Apr-08 0:36 

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.