Click here to Skip to main content
16,012,316 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Enable The Button Control Pin
bhat24-Feb-08 21:05
bhat24-Feb-08 21:05 
GeneralRe: Enable The Button Control Pin
Hamid_RT25-Feb-08 6:53
Hamid_RT25-Feb-08 6:53 
Generalexception in string Pin
George_George24-Feb-08 19:41
George_George24-Feb-08 19:41 
GeneralRe: exception in string Pin
James R. Twine25-Feb-08 4:41
James R. Twine25-Feb-08 4:41 
GeneralRe: exception in string Pin
George_George25-Feb-08 18:24
George_George25-Feb-08 18:24 
GeneralRe: exception in string Pin
James R. Twine25-Feb-08 23:45
James R. Twine25-Feb-08 23:45 
GeneralRe: exception in string Pin
George_George26-Feb-08 14:09
George_George26-Feb-08 14:09 
GeneralRe: exception in string Pin
James R. Twine27-Feb-08 1:03
James R. Twine27-Feb-08 1:03 
George_George wrote:
I think you mean some meta data of heap, e.g. free space size of the heap is corrupted (so that the actual free memory size is not reflected), then when we allocate later, there will be bad_alloc exception?


   I do not know of any standard heap that readily knows how much free space it has available, and even if it did, it might be useless information.  For example, if a heap has 100 1MB free blocks available, but they each have a used block in-between them, then while the heap has 100MB available, only 100MB could be allocated in a contiguous block.

   the heap's internal data structures could be corrupted such that it cannot find the next free block (no pointer to the next free block), which would make it think it is out of memory. Or it could point off to random memory location, which could cause a crash, or try to give you memory that was still in use.  Lotsa fun things can happen with heap corruption. Laugh | :laugh:

   Peace!

-=- James
Please rate this message - let me know if I helped or not!<hr></hr>If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
See DeleteFXPFiles



GeneralRe: exception in string Pin
George_George27-Feb-08 3:04
George_George27-Feb-08 3:04 
Generalcomandline compilation Pin
johnalek24-Feb-08 19:38
johnalek24-Feb-08 19:38 
GeneralRe: comandline compilation Pin
Maxwell Chen24-Feb-08 19:43
Maxwell Chen24-Feb-08 19:43 
AnswerRe: comandline compilation Pin
Rajkumar R24-Feb-08 22:46
Rajkumar R24-Feb-08 22:46 
Questionhow to know the job retention capabilities of printer Pin
Member 273427024-Feb-08 18:39
Member 273427024-Feb-08 18:39 
Generalwindows TO vista!! Pin
rowdy_vc++24-Feb-08 18:02
rowdy_vc++24-Feb-08 18:02 
GeneralRe: windows TO vista!! Pin
Christian Graus24-Feb-08 18:27
protectorChristian Graus24-Feb-08 18:27 
GeneralRe: windows TO vista!! Pin
rowdy_vc++24-Feb-08 18:35
rowdy_vc++24-Feb-08 18:35 
QuestionRe: windows TO vista!! Pin
Rajesh R Subramanian24-Feb-08 18:49
professionalRajesh R Subramanian24-Feb-08 18:49 
QuestionRe: windows TO vista!! Pin
Rajkumar R24-Feb-08 21:50
Rajkumar R24-Feb-08 21:50 
GeneralRe: windows TO vista!! Pin
rowdy_vc++24-Feb-08 22:00
rowdy_vc++24-Feb-08 22:00 
GeneralRe: windows TO vista!! Pin
Rajkumar R25-Feb-08 1:18
Rajkumar R25-Feb-08 1:18 
GeneralRe: windows TO vista!! Pin
rowdy_vc++25-Feb-08 2:22
rowdy_vc++25-Feb-08 2:22 
GeneralRe: windows TO vista!! Pin
Hamid_RT25-Feb-08 6:55
Hamid_RT25-Feb-08 6:55 
GeneralRe: windows TO vista!! Pin
rowdy_vc++25-Feb-08 17:44
rowdy_vc++25-Feb-08 17:44 
GeneralRe: windows TO vista!! Pin
Hamid_RT25-Feb-08 19:23
Hamid_RT25-Feb-08 19:23 
GeneralRe: windows TO vista!! Pin
rowdy_vc++25-Feb-08 20:39
rowdy_vc++25-Feb-08 20:39 

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.