Click here to Skip to main content
       

C / C++ / MFC

 
QuestionWM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? PinmemberVaclav_Sal7-Dec-12 4:10 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? PinmemberJochen Arndt7-Dec-12 5:56 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? Pinmemberjeron17-Dec-12 5:59 
GeneralRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? PinmemberVaclav_Sal7-Dec-12 6:58 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? PinmvpRichard MacCutchan7-Dec-12 21:51 
GeneralRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? PinmemberVaclav_Sal9-Dec-12 5:47 
AnswerRe: WM_DEVICECHANGE sets wParam to unexpected value of 7 - how to troubleshoot this? PinmemberPecuniousPete9-Dec-12 20:23 
Questionhow to find out the codes who eat up my memory? PinmemberFalconapollo7-Dec-12 2:32 
AnswerRe: how to find out the codes who eat up my memory? PinmvpRichard MacCutchan7-Dec-12 2:54 
QuestionRe: how to find out the codes who eat up my memory? PinmemberDavidCrow7-Dec-12 2:55 
AnswerRe: how to find out the codes who eat up my memory? PinmemberFalconapollo7-Dec-12 3:11 
QuestionRe: how to find out the codes who eat up my memory? PinmemberDavidCrow7-Dec-12 3:25 
AnswerRe: how to find out the codes who eat up my memory? PinmemberFalconapollo7-Dec-12 3:28 
AnswerRe: how to find out the codes who eat up my memory? PinmemberJoe 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? Pinmembervr9999999998-Dec-12 1:25 
AnswerRe: how to find out the codes who eat up my memory? PinmemberPecuniousPete11-Dec-12 20:42 
QuestionImage processing and converter PinmemberFlaviu26-Dec-12 22:12 
QuestionRe: Image processing and converter PinmvpRichard MacCutchan6-Dec-12 22:18 
AnswerRe: Image processing and converter PinmemberFlaviu26-Dec-12 22:26 
GeneralRe: Image processing and converter PinmvpRichard MacCutchan6-Dec-12 23:32 
GeneralRe: Image processing and converter PinmemberFlaviu27-Dec-12 1:00 
GeneralRe: Image processing and converter PinmvpRichard MacCutchan7-Dec-12 1:11 
GeneralRe: Image processing and converter PinmemberFlaviu27-Dec-12 1:44 
GeneralRe: Image processing and converter PinmemberChris Losinger10-Dec-12 8:05 
AnswerRe: Image processing and converter PinmemberJoe Woodbury7-Dec-12 8:39 
QuestionUniversal Patch Finder Native Plug-ins Pinmemberdroopy66-Dec-12 20:41 
AnswerRe: Universal Patch Finder Native Plug-ins PinmvpRichard MacCutchan6-Dec-12 22:16 
QuestionHow to detect window event : Log on, log off, standby... Pinmembervunhutien6-Dec-12 16:27 
AnswerRe: How to detect window event : Log on, log off, standby... PinmvpRichard MacCutchan6-Dec-12 22:14 
Question_ApplicationPtr definition in OLE program PinmemberForNow6-Dec-12 13:30 
AnswerRe: _ApplicationPtr definition in OLE program PinmemberPeter_in_27806-Dec-12 15:18 
GeneralRe: _ApplicationPtr definition in OLE program PinmemberForNow6-Dec-12 16:00 
GeneralRe: _ApplicationPtr definition in OLE program PinmvpRichard MacCutchan6-Dec-12 22:11 
Questionsession description protocol Pinmembermani2516195-Dec-12 18:33 
AnswerRe: session description protocol PinmvpRichard MacCutchan5-Dec-12 21:26 
QuestionRe: session description protocol PinmemberDavidCrow6-Dec-12 2:50 
AnswerRe: session description protocol Pinmemberjeron16-Dec-12 4:03 
Questionerror C1083: Cannot open type library file "libid:00....... PinmemberForNow5-Dec-12 12:01 
SuggestionRe: error C1083: Cannot open type library file "libid:00....... PinmvpRichard MacCutchan5-Dec-12 12:15 
GeneralRe: error C1083: Cannot open type library file "libid:00....... PinmemberForNow5-Dec-12 12:23 
AnswerRe: error C1083: Cannot open type library file "libid:00....... PinmemberThatsAlok6-Dec-12 3:33 
QuestionRe: error C1083: Cannot open type library file "libid:00....... PinmemberDavidCrow6-Dec-12 5:10 
QuestionSystem message processing in MFC - basic question. PinmemberVaclav_Sal5-Dec-12 5:23 
AnswerRe: System message processing in MFC - basic question. PinmvpRichard MacCutchan5-Dec-12 5:33 
GeneralRe: System message processing in MFC - basic question. PinmemberVaclav_Sal5-Dec-12 7:37 
GeneralRe: System message processing in MFC - basic question. PinmemberChris Meech5-Dec-12 9:11 
GeneralRe: System message processing in MFC - basic question. PinmvpRichard MacCutchan5-Dec-12 9:22 
AnswerRe: System message processing in MFC - basic question. PinmemberAlbert Holguin5-Dec-12 10:26 
AnswerRe: System message processing in MFC - basic question. PinmemberAlbert Holguin5-Dec-12 10:29 
QuestionDbt.h - symbol not defined? PinmemberVaclav_Sal5-Dec-12 5:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.140926.1 | Last Updated 30 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid