Click here to Skip to main content
15,896,118 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionVC++ 6 Std, VC++ Toolkit 2003 and ATL/WTL/MFC ? Pin
Defenestration6-Aug-05 8:03
Defenestration6-Aug-05 8:03 
General1GDI - drawing the sin( ) function Pin
yanivbd16-Aug-05 8:01
sussyanivbd16-Aug-05 8:01 
GeneralPut Controls into Taskbar Pin
Nautilus Master6-Aug-05 7:30
Nautilus Master6-Aug-05 7:30 
QuestionCLongBinary to CBitmap? Pin
Razi Al-Sayed6-Aug-05 7:06
Razi Al-Sayed6-Aug-05 7:06 
AnswerRe: CLongBinary to CBitmap? Pin
John R. Shaw7-Aug-05 2:02
John R. Shaw7-Aug-05 2:02 
QuestionDetecting other software interacting with my software? Pin
luddet6-Aug-05 4:33
luddet6-Aug-05 4:33 
AnswerRe: Detecting other software interacting with my software? Pin
John R. Shaw7-Aug-05 2:24
John R. Shaw7-Aug-05 2:24 
GeneralHeapFree and virtual memory Pin
S. Senthil Kumar6-Aug-05 3:54
S. Senthil Kumar6-Aug-05 3:54 
Hi All,

I'm having a problem with the HeapAlloc and HeapFree functions. I'm using those functions on the default process heap and they seem to work okay upto a particular point. At one point, when a request for a big chunk of memory (~118 MB) was made, the call failed.

A snapshot of the virtual address space showed that the HeapManager never released the memory to the OS, instead, it kept it reserved, committing and decomitting it as necessary. I'm wondering if that was what actually caused the request to fail, maybe the HeapManager wasn't able to find a contiguous region of the requested size?

Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
GeneralRe: HeapFree and virtual memory Pin
Tim Smith6-Aug-05 4:27
Tim Smith6-Aug-05 4:27 
QuestionHow to let the CListCtrl selected Pin
bghuang6-Aug-05 2:41
bghuang6-Aug-05 2:41 
AnswerRe: How to let the CListCtrl selected Pin
Anonymous6-Aug-05 4:23
Anonymous6-Aug-05 4:23 
Generalfaild Pin
bghuang6-Aug-05 15:56
bghuang6-Aug-05 15:56 
AnswerRe: How to let the CListCtrl selected Pin
Jose Lamas Rios6-Aug-05 16:29
Jose Lamas Rios6-Aug-05 16:29 
GeneralCOM-DLL for use in VB and C# projects Pin
MihaiChioariu6-Aug-05 1:52
MihaiChioariu6-Aug-05 1:52 
GeneralRe: COM-DLL for use in VB and C# projects Pin
John R. Shaw7-Aug-05 2:43
John R. Shaw7-Aug-05 2:43 
GeneralSetupDiGetDeviceRegistryProperty Gives error Pin
nripun6-Aug-05 1:06
nripun6-Aug-05 1:06 
GeneralRe: SetupDiGetDeviceRegistryProperty Gives error Pin
Jose Lamas Rios6-Aug-05 17:33
Jose Lamas Rios6-Aug-05 17:33 
Generalprogramming for Internet Explorer Pin
Alex Shapovalov5-Aug-05 23:40
professionalAlex Shapovalov5-Aug-05 23:40 
GeneralRe: programming for Internet Explorer Pin
ThatsAlok6-Aug-05 0:01
ThatsAlok6-Aug-05 0:01 
GeneralRe: programming for Internet Explorer Pin
Alex Shapovalov6-Aug-05 8:12
professionalAlex Shapovalov6-Aug-05 8:12 
GeneralRe: programming for Internet Explorer Pin
ThatsAlok6-Aug-05 23:11
ThatsAlok6-Aug-05 23:11 
GeneralATl VC++6.0(MFC) calling........problem Pin
virender chauhan5-Aug-05 23:15
virender chauhan5-Aug-05 23:15 
GeneralRe: ATl VC++6.0(MFC) calling........problem Pin
ThatsAlok5-Aug-05 23:33
ThatsAlok5-Aug-05 23:33 
Questionhow can i detect a file's name has changed in my program? Pin
sophia22885-Aug-05 22:53
sophia22885-Aug-05 22:53 
AnswerRe: how can i detect a file's name has changed in my program? Pin
ThatsAlok5-Aug-05 23:04
ThatsAlok5-Aug-05 23:04 

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.