Click here to Skip to main content
15,888,461 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: read text file Pin
Sajeesh Payolam9-Dec-12 21:05
Sajeesh Payolam9-Dec-12 21:05 
QuestionWM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
Vaclav_7-Dec-12 4:10
Vaclav_7-Dec-12 4:10 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
Jochen Arndt7-Dec-12 5:56
professionalJochen Arndt7-Dec-12 5:56 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
jeron17-Dec-12 5:59
jeron17-Dec-12 5:59 
GeneralRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
Vaclav_7-Dec-12 6:58
Vaclav_7-Dec-12 6:58 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
Richard MacCutchan7-Dec-12 21:51
mveRichard MacCutchan7-Dec-12 21:51 
GeneralRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
Vaclav_9-Dec-12 5:47
Vaclav_9-Dec-12 5:47 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pin
PecuniousPete9-Dec-12 20:23
PecuniousPete9-Dec-12 20:23 
Questionhow to find out the codes who eat up my memory? Pin
Falconapollo7-Dec-12 2:32
Falconapollo7-Dec-12 2:32 
AnswerRe: how to find out the codes who eat up my memory? Pin
Richard MacCutchan7-Dec-12 2:54
mveRichard MacCutchan7-Dec-12 2:54 
QuestionRe: how to find out the codes who eat up my memory? Pin
David Crow7-Dec-12 2:55
David Crow7-Dec-12 2:55 
AnswerRe: how to find out the codes who eat up my memory? Pin
Falconapollo7-Dec-12 3:11
Falconapollo7-Dec-12 3:11 
QuestionRe: how to find out the codes who eat up my memory? Pin
David Crow7-Dec-12 3:25
David Crow7-Dec-12 3:25 
AnswerRe: how to find out the codes who eat up my memory? Pin
Falconapollo7-Dec-12 3:28
Falconapollo7-Dec-12 3:28 
AnswerRe: how to find out the codes who eat up my memory? Pin
Joe Woodbury7-Dec-12 8:30
professionalJoe Woodbury7-Dec-12 8:30 
First, when you do a malloc or new, you extend the heap. For optimization reasons, the memory manager may not return the heap back to the OS immediately. When needing to allocate especially large chunks of memory, you can use a low level API directly or, with some compilers/CRTs, a different heap (for Windows, here's an article discussion various options: http://msdn.microsoft.com/en-us/library/windows/desktop/aa366533%28v=vs.85%29.aspx[^].)

Also note that if you allocate memory and sit around, the OS may page it out. To understand the difference in Windows, look into "private bytes" and "working set".
AnswerRe: how to find out the codes who eat up my memory? Pin
vr9999999998-Dec-12 1:25
vr9999999998-Dec-12 1:25 
AnswerRe: how to find out the codes who eat up my memory? Pin
PecuniousPete11-Dec-12 20:42
PecuniousPete11-Dec-12 20:42 
QuestionImage processing and converter Pin
_Flaviu6-Dec-12 22:12
_Flaviu6-Dec-12 22:12 
QuestionRe: Image processing and converter Pin
Richard MacCutchan6-Dec-12 22:18
mveRichard MacCutchan6-Dec-12 22:18 
AnswerRe: Image processing and converter Pin
_Flaviu6-Dec-12 22:26
_Flaviu6-Dec-12 22:26 
GeneralRe: Image processing and converter Pin
Richard MacCutchan6-Dec-12 23:32
mveRichard MacCutchan6-Dec-12 23:32 
GeneralRe: Image processing and converter Pin
_Flaviu7-Dec-12 1:00
_Flaviu7-Dec-12 1:00 
GeneralRe: Image processing and converter Pin
Richard MacCutchan7-Dec-12 1:11
mveRichard MacCutchan7-Dec-12 1:11 
GeneralRe: Image processing and converter Pin
_Flaviu7-Dec-12 1:44
_Flaviu7-Dec-12 1:44 
GeneralRe: Image processing and converter Pin
Chris Losinger10-Dec-12 8:05
professionalChris Losinger10-Dec-12 8:05 

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.