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

C / C++ / MFC

 
GeneralRe: c++ functions Pin
Laxman Auti13-Jun-06 18:46
Laxman Auti13-Jun-06 18:46 
AnswerRe: c++ functions Pin
_AnsHUMAN_ 13-Jun-06 18:48
_AnsHUMAN_ 13-Jun-06 18:48 
QuestionUsing Binary Data Directly in CPP Source Files Pin
JSadleir13-Jun-06 18:38
JSadleir13-Jun-06 18:38 
AnswerRe: Using Binary Data Directly in CPP Source Files Pin
Stephen Hewitt14-Jun-06 20:44
Stephen Hewitt14-Jun-06 20:44 
GeneralRe: Using Binary Data Directly in CPP Source Files Pin
JSadleir18-Jun-06 15:52
JSadleir18-Jun-06 15:52 
QuestionHow to verify a pointer is valid? [modified] Pin
flyingxu13-Jun-06 17:25
flyingxu13-Jun-06 17:25 
AnswerRe: How to verify a pointer is valid? Pin
Sarath C13-Jun-06 17:43
Sarath C13-Jun-06 17:43 
GeneralRe: How to verify a pointer is valid? [modified] Pin
Stephen Hewitt13-Jun-06 18:09
Stephen Hewitt13-Jun-06 18:09 
Using IsBadWritePtr and friends will not solve the OP's problem. IsBadWritePtr can return FALSE even after an object as been deleted as heap blocks can be marked as free but the memory still be allocated. On top of this the CRT can add another level of caching. In short, if IsBadWritePtr returns TRUE you know something is wrong and it's not safe to use the memory, but if returns FALSE it does not necessarily mean all is well.

Steve
AnswerRe: How to verify a pointer is valid? [modified] Pin
Nibu babu thomas13-Jun-06 17:55
Nibu babu thomas13-Jun-06 17:55 
AnswerRe: How to verify a pointer is valid? Pin
grigsoft13-Jun-06 18:09
grigsoft13-Jun-06 18:09 
AnswerRe: How to verify a pointer is valid? Pin
Ganesh_T13-Jun-06 18:37
Ganesh_T13-Jun-06 18:37 
AnswerRe: How to verify a pointer is valid? Pin
Laxman Auti13-Jun-06 18:49
Laxman Auti13-Jun-06 18:49 
AnswerRe: How to verify a pointer is valid? Pin
Tim Paaschen13-Jun-06 19:35
Tim Paaschen13-Jun-06 19:35 
Questiongraphical error Pin
anmol m13-Jun-06 17:12
anmol m13-Jun-06 17:12 
AnswerRe: graphical error Pin
Ganesh_T13-Jun-06 18:40
Ganesh_T13-Jun-06 18:40 
AnswerRe: graphical error Pin
Laxman Auti13-Jun-06 18:45
Laxman Auti13-Jun-06 18:45 
AnswerRe: graphical error Pin
khan++13-Jun-06 18:46
khan++13-Jun-06 18:46 
GeneralRe: graphical error Pin
anmol m15-Jun-06 7:11
anmol m15-Jun-06 7:11 
GeneralRe: graphical error Pin
khan++15-Jun-06 21:12
khan++15-Jun-06 21:12 
QuestionA newb needs help. Pin
zach713-Jun-06 16:01
zach713-Jun-06 16:01 
AnswerRe: A newb needs help. Pin
Mark F.13-Jun-06 17:15
Mark F.13-Jun-06 17:15 
AnswerRe: A newb needs help. Pin
Ganesh_T13-Jun-06 18:46
Ganesh_T13-Jun-06 18:46 
AnswerRe: A newb needs help. Pin
Laxman Auti13-Jun-06 18:53
Laxman Auti13-Jun-06 18:53 
Questionpopup menu in a listbox [modified] Pin
locoone13-Jun-06 15:48
locoone13-Jun-06 15:48 
AnswerRe: popup menu in a listbox Pin
Sarath C13-Jun-06 17:38
Sarath C13-Jun-06 17:38 

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.