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

C / C++ / MFC

 
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.

GeneralRe: Why is this delete not crashing Pin
Adam Roderick J5-Nov-09 21:49
Adam Roderick J5-Nov-09 21:49 
GeneralRe: Why is this delete not crashing Pin
Hari_165-Nov-09 21:53
Hari_165-Nov-09 21:53 
QuestionPlease read my question Pin
RIZWAN ADMANI5-Nov-09 18:13
RIZWAN ADMANI5-Nov-09 18:13 
AnswerRe: Please read my question Pin
Garth J Lancaster5-Nov-09 18:38
professionalGarth J Lancaster5-Nov-09 18:38 
GeneralRe: Please read my question Pin
RIZWAN ADMANI5-Nov-09 18:43
RIZWAN ADMANI5-Nov-09 18:43 
AnswerRe: Please read my question Pin
Michael Schubert5-Nov-09 21:47
Michael Schubert5-Nov-09 21:47 
AnswerRe: Please read my question Pin
Richard MacCutchan5-Nov-09 22:51
mveRichard MacCutchan5-Nov-09 22:51 
AnswerRe: Please read my question Pin
Maximilien6-Nov-09 1:37
Maximilien6-Nov-09 1:37 
AnswerRe: Please read my question Pin
Kushagra Tiwari6-Nov-09 2:17
Kushagra Tiwari6-Nov-09 2:17 
QuestionRun at startup using scheduled tasks Pin
hxhl955-Nov-09 15:49
hxhl955-Nov-09 15:49 
AnswerRe: Run at startup using scheduled tasks Pin
«_Superman_»5-Nov-09 15:55
professional«_Superman_»5-Nov-09 15:55 
GeneralRe: Run at startup using scheduled tasks Pin
hxhl955-Nov-09 16:14
hxhl955-Nov-09 16:14 
GeneralRe: Run at startup using scheduled tasks Pin
«_Superman_»5-Nov-09 16:18
professional«_Superman_»5-Nov-09 16:18 
GeneralRe: Run at startup using scheduled tasks [modified] Pin
hxhl955-Nov-09 16:36
hxhl955-Nov-09 16:36 
GeneralRe: Run at startup using scheduled tasks Pin
«_Superman_»5-Nov-09 17:05
professional«_Superman_»5-Nov-09 17:05 
GeneralRe: Run at startup using scheduled tasks Pin
hxhl955-Nov-09 17:10
hxhl955-Nov-09 17:10 
GeneralRe: Run at startup using scheduled tasks Pin
«_Superman_»5-Nov-09 17:11
professional«_Superman_»5-Nov-09 17:11 

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.