Click here to Skip to main content
16,005,037 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Compare txt files Pin
David Crow14-Sep-05 11:06
David Crow14-Sep-05 11:06 
GeneralRe: Compare txt files Pin
bugDanny15-Sep-05 6:44
bugDanny15-Sep-05 6:44 
GeneralRe: Compare txt files Pin
David Crow15-Sep-05 7:08
David Crow15-Sep-05 7:08 
QuestionMFC Application Pin
nss_7513-Sep-05 1:29
sussnss_7513-Sep-05 1:29 
AnswerRe: MFC Application Pin
logicaldna13-Sep-05 1:32
logicaldna13-Sep-05 1:32 
GeneralRe: MFC Application Pin
Anonymous13-Sep-05 17:36
Anonymous13-Sep-05 17:36 
AnswerRe: MFC Application Pin
David Crow13-Sep-05 2:19
David Crow13-Sep-05 2:19 
AnswerRe: MFC Application Pin
John R. Shaw13-Sep-05 5:47
John R. Shaw13-Sep-05 5:47 
Your program is eating up all the memory resourses. It can do this without leaking any memory at all, if it is not losing track of what resourses it allocated. To test for this, simply close the program and see if the other applications return to thier normal operating speed.

The CPU usage suggest that you are not (stuck) in an infinite loop some where, that is all. (If you where, you probably could not close the program)

There are multiple ways to figure out what the problem is:
1) Start with examining the code.
2) Profile (Build->Profile...) over a short run.
3) Override the global new() and delete() (to avoid modifying the main code itself and assuming that you are using new/delete instead of some other Windows specific allocation routines) to output meaningful data. The meaningful data can the output via the TRACE() macro or sent to a file.
4) Add TRACE() calls every where you allocate/release resourses or duplicate the TRACE() macro to write to a file instead.

Well, that the short list, ecept that 3 and 4 are inter-chagable if you wrote all the code yourself.


INTP

Questionadd two functions for a button Pin
meiyueh13-Sep-05 1:08
meiyueh13-Sep-05 1:08 
AnswerRe: add two functions for a button Pin
*Dreamz13-Sep-05 1:26
*Dreamz13-Sep-05 1:26 
Generalbutton settings Pin
meiyueh13-Sep-05 1:48
meiyueh13-Sep-05 1:48 
GeneralRe: button settings Pin
*Dreamz13-Sep-05 2:00
*Dreamz13-Sep-05 2:00 
AnswerRe: add two functions for a button Pin
logicaldna13-Sep-05 1:30
logicaldna13-Sep-05 1:30 
AnswerRe: add two functions for a button Pin
toxcct13-Sep-05 21:27
toxcct13-Sep-05 21:27 
Questioncalculating function time,Interesting Pin
logicaldna13-Sep-05 1:03
logicaldna13-Sep-05 1:03 
AnswerRe: calculating function time,Interesting Pin
Cedric Moonen13-Sep-05 2:11
Cedric Moonen13-Sep-05 2:11 
AnswerRe: calculating function time,Interesting Pin
John R. Shaw13-Sep-05 2:44
John R. Shaw13-Sep-05 2:44 
QuestionRe: calculating function time,Interesting Pin
logicaldna13-Sep-05 18:42
logicaldna13-Sep-05 18:42 
QuestionNobody??WMI,set Ip Address,Doesn't work! Help!!! Pin
Tcpip200513-Sep-05 0:51
Tcpip200513-Sep-05 0:51 
QuestionI got runtime error when I am moving toolbars in my program. Pin
G Haranadh13-Sep-05 0:14
G Haranadh13-Sep-05 0:14 
QuestionSerial communication Pin
Aditi48412-Sep-05 23:59
Aditi48412-Sep-05 23:59 
AnswerRe: Serial communication Pin
MailtoGops13-Sep-05 3:15
MailtoGops13-Sep-05 3:15 
GeneralRe: Serial communication Pin
Aditi48413-Sep-05 3:50
Aditi48413-Sep-05 3:50 
AnswerRe: Serial communication Pin
John R. Shaw13-Sep-05 4:06
John R. Shaw13-Sep-05 4:06 
AnswerRe: Serial communication Pin
Roger Stoltz13-Sep-05 6:35
Roger Stoltz13-Sep-05 6:35 

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.