Click here to Skip to main content
15,922,533 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Virtual destructors Pin
mid=57416-Jul-07 1:34
mid=57416-Jul-07 1:34 
GeneralRe: Virtual destructors Pin
David Crow6-Jul-07 2:41
David Crow6-Jul-07 2:41 
QuestionReading text Pin
tom groezer5-Jul-07 9:32
tom groezer5-Jul-07 9:32 
AnswerRe: Reading text Pin
David Crow5-Jul-07 10:15
David Crow5-Jul-07 10:15 
GeneralRe: Reading text Pin
sheshidar5-Jul-07 23:20
sheshidar5-Jul-07 23:20 
GeneralRe: Reading text Pin
Hamid_RT6-Jul-07 1:05
Hamid_RT6-Jul-07 1:05 
GeneralRe: Reading text Pin
David Crow6-Jul-07 2:39
David Crow6-Jul-07 2:39 
QuestionHeapWalk and PROCESS_HEAP_ENTRY_MOVEABLE Pin
Blake Miller5-Jul-07 7:52
Blake Miller5-Jul-07 7:52 
Has anyone ever seen the PROCESS_HEAP_ENTRY_MOVEABLE bit set in any of the heap entries encountered while walking a heap?

I have allocated some memory using GlobalAlloc(GMEM_MOVEABLE, nBlockSize);
where nBlockSize = 65 * 1024.

When I call HeapWalk and iteratively obtain the PROCESS_HEAP_ENTRY data, I never see the PROCESS_HEAP_ENTRY_MOVEABLE bit set in any of the heap entries.

I used GetProcessHeaps and separately walked each of the 3 heaps my test program has in it.

The entire reason this is an issue is that a process is only allowed 65535 GMEM_MOVEABLE allocations at one time (according to a couple Microsoft documents), and our product is reaching this limit. I want to periodically check, for QA purposes, how many handles have already been used.
Questionhow to develop themes Pin
pritthi5-Jul-07 7:22
pritthi5-Jul-07 7:22 
QuestionRe: how to develop themes Pin
David Crow5-Jul-07 7:32
David Crow5-Jul-07 7:32 
AnswerRe: how to develop themes Pin
led mike5-Jul-07 8:14
led mike5-Jul-07 8:14 
AnswerRe: how to develop themes Pin
Perspx5-Jul-07 18:42
Perspx5-Jul-07 18:42 
AnswerRe: how to develop themes Pin
Hamid_RT6-Jul-07 1:06
Hamid_RT6-Jul-07 1:06 
QuestionWindbg Pin
tom groezer5-Jul-07 5:20
tom groezer5-Jul-07 5:20 
QuestionRe: Windbg Pin
David Crow5-Jul-07 7:05
David Crow5-Jul-07 7:05 
AnswerRe: Windbg Pin
tom groezer5-Jul-07 7:28
tom groezer5-Jul-07 7:28 
QuestionRe: Windbg Pin
David Crow5-Jul-07 7:35
David Crow5-Jul-07 7:35 
AnswerRe: Windbg Pin
Paresh Chitte5-Jul-07 20:08
Paresh Chitte5-Jul-07 20:08 
QuestionVirtual destructors Pin
tom groezer5-Jul-07 5:19
tom groezer5-Jul-07 5:19 
QuestionRe: Virtual destructors Pin
David Crow5-Jul-07 7:02
David Crow5-Jul-07 7:02 
AnswerRe: Virtual destructors Pin
tom groezer5-Jul-07 7:26
tom groezer5-Jul-07 7:26 
GeneralRe: Virtual destructors Pin
David Crow5-Jul-07 7:38
David Crow5-Jul-07 7:38 
QuestionCrash Pin
tom groezer5-Jul-07 5:16
tom groezer5-Jul-07 5:16 
QuestionRe: Crash Pin
David Crow5-Jul-07 7:04
David Crow5-Jul-07 7:04 
AnswerRe: Crash Pin
tom groezer5-Jul-07 7:24
tom groezer5-Jul-07 7:24 

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.