Click here to Skip to main content
15,909,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: validating handles and pointers Pin
Electronic754-Feb-08 0:00
Electronic754-Feb-08 0:00 
GeneralRe: validating handles and pointers Pin
Cedric Moonen4-Feb-08 0:04
Cedric Moonen4-Feb-08 0:04 
GeneralRe: validating handles and pointers Pin
Electronic754-Feb-08 0:11
Electronic754-Feb-08 0:11 
GeneralRe: validating handles and pointers Pin
Cedric Moonen4-Feb-08 0:49
Cedric Moonen4-Feb-08 0:49 
GeneralRe: validating handles and pointers Pin
Electronic754-Feb-08 1:35
Electronic754-Feb-08 1:35 
GeneralRe: validating handles and pointers Pin
jhwurmbach4-Feb-08 2:45
jhwurmbach4-Feb-08 2:45 
GeneralRe: validating handles and pointers Pin
Electronic754-Feb-08 3:30
Electronic754-Feb-08 3:30 
GeneralRe: validating handles and pointers Pin
jhwurmbach4-Feb-08 4:02
jhwurmbach4-Feb-08 4:02 
Electronic75 wrote:
my point is when it has been given a value somewhere in the program and there is a possibility that value dose not exist anymore so the value is wrong then still I need to check it.


Where does this possibility come from?
THAT is the task you need to solve!
Wherever you delete an object, you need to change the pointer value to NULL.
Thats all, folks

Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"

GeneralRe: validating handles and pointers Pin
David Crow4-Feb-08 2:54
David Crow4-Feb-08 2:54 
GeneralRe: validating handles and pointers Pin
Maxwell Chen3-Feb-08 23:27
Maxwell Chen3-Feb-08 23:27 
GeneralRe: validating handles and pointers Pin
Electronic753-Feb-08 23:38
Electronic753-Feb-08 23:38 
QuestionRe: validating handles and pointers Pin
CPallini3-Feb-08 23:42
mveCPallini3-Feb-08 23:42 
GeneralRe: validating handles and pointers Pin
Electronic753-Feb-08 23:54
Electronic753-Feb-08 23:54 
GeneralRe: validating handles and pointers Pin
Cedric Moonen3-Feb-08 23:58
Cedric Moonen3-Feb-08 23:58 
QuestionRe: validating handles and pointers Pin
CPallini4-Feb-08 0:18
mveCPallini4-Feb-08 0:18 
GeneralRe: validating handles and pointers Pin
David Crow4-Feb-08 3:02
David Crow4-Feb-08 3:02 
GeneralRe: validating handles and pointers Pin
Iain Clarke, Warrior Programmer4-Feb-08 1:08
Iain Clarke, Warrior Programmer4-Feb-08 1:08 
GeneralRe: validating handles and pointers Pin
Electronic754-Feb-08 1:53
Electronic754-Feb-08 1:53 
AnswerRe: validating handles and pointers [modified] Pin
Rajkumar R3-Feb-08 23:43
Rajkumar R3-Feb-08 23:43 
GeneralRe: validating handles and pointers Pin
Electronic754-Feb-08 0:08
Electronic754-Feb-08 0:08 
GeneralDraw Dialog on View Pin
baerten3-Feb-08 22:16
baerten3-Feb-08 22:16 
AnswerRe: Draw Dialog on View Pin
Rajkumar R3-Feb-08 23:01
Rajkumar R3-Feb-08 23:01 
GeneralRe: Draw Dialog on View Pin
baerten3-Feb-08 23:04
baerten3-Feb-08 23:04 
GeneralRe: Draw Dialog on View Pin
CString(0xcccccccc)4-Feb-08 23:46
CString(0xcccccccc)4-Feb-08 23:46 
QuestionHow to get the coordinate of mouse click? Pin
Kennis3-Feb-08 22:11
Kennis3-Feb-08 22: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.