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

C / C++ / MFC

 
AnswerRe: how group box respond to BN_CLICKED Pin
Code-o-mat5-Nov-09 20:41
Code-o-mat5-Nov-09 20:41 
QuestionWindows API Functions [modified] Pin
Pryabu5-Nov-09 20:16
Pryabu5-Nov-09 20:16 
QuestionRe: Windows API Functions Pin
CPallini5-Nov-09 20:48
mveCPallini5-Nov-09 20:48 
AnswerRe: Windows API Functions Pin
Pryabu5-Nov-09 21:08
Pryabu5-Nov-09 21:08 
GeneralRe: Windows API Functions Pin
Adam Roderick J5-Nov-09 21:13
Adam Roderick J5-Nov-09 21:13 
GeneralRe: Windows API Functions Pin
Pryabu5-Nov-09 21:17
Pryabu5-Nov-09 21:17 
GeneralRe: Windows API Functions Pin
Adam Roderick J5-Nov-09 21:19
Adam Roderick J5-Nov-09 21:19 
GeneralRe: Windows API Functions Pin
CPallini5-Nov-09 22:07
mveCPallini5-Nov-09 22:07 
GeneralRe: Windows API Functions Pin
Pryabu5-Nov-09 22:35
Pryabu5-Nov-09 22:35 
GeneralRe: Windows API Functions Pin
Adam Roderick J5-Nov-09 22:44
Adam Roderick J5-Nov-09 22:44 
GeneralRe: Windows API Functions Pin
Pryabu5-Nov-09 22:44
Pryabu5-Nov-09 22:44 
GeneralRe: Windows API Functions Pin
Adam Roderick J5-Nov-09 22:51
Adam Roderick J5-Nov-09 22:51 
QuestionRe: Windows API Functions Pin
David Crow6-Nov-09 3:34
David Crow6-Nov-09 3:34 
AnswerRe: Windows API Functions Pin
CPallini6-Nov-09 5:27
mveCPallini6-Nov-09 5:27 
AnswerRe: Windows API Functions Pin
Cedric Moonen5-Nov-09 23:08
Cedric Moonen5-Nov-09 23:08 
GeneralRe: Windows API Functions Pin
Pryabu5-Nov-09 23:13
Pryabu5-Nov-09 23:13 
GeneralRe: Windows API Functions Pin
Game-point6-Nov-09 2:45
Game-point6-Nov-09 2:45 
GeneralRe: Windows API Functions Pin
Cedric Moonen6-Nov-09 7:30
Cedric Moonen6-Nov-09 7:30 
Questionhow to convert word(or)excel document to pdf [modified] Pin
eswar pothula5-Nov-09 19:39
eswar pothula5-Nov-09 19:39 
AnswerRe: how to convert word(or)excel document to pdf Pin
Richard MacCutchan5-Nov-09 22:44
mveRichard MacCutchan5-Nov-09 22:44 
AnswerRe: how to convert word(or)excel document to pdf Pin
David Crow6-Nov-09 3:35
David Crow6-Nov-09 3:35 
QuestionWhy is this delete not crashing Pin
Hari_165-Nov-09 18:22
Hari_165-Nov-09 18:22 
AnswerRe: Why is this delete not crashing Pin
Tim Craig5-Nov-09 18:35
Tim Craig5-Nov-09 18:35 
GeneralRe: Why is this delete not crashing Pin
Hari_165-Nov-09 18:54
Hari_165-Nov-09 18:54 
GeneralRe: Why is this delete not crashing Pin
Tim Craig5-Nov-09 19:45
Tim Craig5-Nov-09 19:45 
To answer seriously, the memory has been marked available on the heap but it still exists and is not cleared. You still have a pointer to it although it's invalid. If that block of memory was allocated to something else later in the program, who knows what would happen but probably nothing good. If an invalid pointer is going to be in scope for a while, it's a good idea to null it out and get an immediate crash if you happen to use it again.

You measure democracy by the freedom it gives its dissidents, not the freedom it gives its assimilated conformists.

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.