Click here to Skip to main content
15,919,613 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to implement a 'please wait' dialog.. Pin
Michael Dunn17-Aug-02 5:16
sitebuilderMichael Dunn17-Aug-02 5:16 
AnswerRe: How to implement a 'please wait' dialog.. Pin
dlhson17-Aug-02 8:43
dlhson17-Aug-02 8:43 
Questionhow to access bad pointers? Pin
includeh1017-Aug-02 3:28
includeh1017-Aug-02 3:28 
AnswerRe: how to access bad pointers? Pin
Michael P Butler17-Aug-02 3:45
Michael P Butler17-Aug-02 3:45 
GeneralRe: how to access bad pointers? Pin
includeh1017-Aug-02 4:24
includeh1017-Aug-02 4:24 
GeneralRe: how to access bad pointers? Pin
mishgun17-Aug-02 4:34
mishgun17-Aug-02 4:34 
GeneralRe: how to access bad pointers? Pin
dlhson17-Aug-02 8:49
dlhson17-Aug-02 8:49 
AnswerRe: how to access bad pointers? Pin
Philippe Mori17-Aug-02 10:10
Philippe Mori17-Aug-02 10:10 
You can check some bap pointers with a function like IsBadReadPtr and similar functions but it will not detect all bad pointers (and maybe none with our sample).

You can also uses exception handling to catch access violation and do so other validation to ensure that the pointer do point to valid data.

So any solution are a patch but when we want to handle corrupted files, we often have no choice than to fully validate the data and skip any data that does not appears to be good!

Or if you can fix the data itself, simply correct existing files and create new files without corrupted data (you may in that case want to add some means to detect that you have a new file and skip validation in that case).

Philippe Mori
AnswerRe: how to access bad pointers? Pin
Philip Patrick17-Aug-02 11:06
professionalPhilip Patrick17-Aug-02 11:06 
QuestionCan anyone suggest how to execute warm booting using address pointer Pin
Pankaj Singh17-Aug-02 2:36
Pankaj Singh17-Aug-02 2:36 
AnswerRe: Can anyone suggest how to execute warm booting using address pointer Pin
dlhson17-Aug-02 8:51
dlhson17-Aug-02 8:51 
GeneralRight align list column in list view. Pin
Steve L.17-Aug-02 2:02
Steve L.17-Aug-02 2:02 
GeneralRe: Right align list column in list view. Pin
Michael P Butler17-Aug-02 3:56
Michael P Butler17-Aug-02 3:56 
GeneralRe: Right align list column in list view. Pin
dlhson17-Aug-02 8:53
dlhson17-Aug-02 8:53 
GeneralRe: Right align list column in list view. Pin
Steve L.17-Aug-02 12:28
Steve L.17-Aug-02 12:28 
Questiondoes VB have STL? Pin
nss17-Aug-02 0:44
nss17-Aug-02 0:44 
AnswerRe: does VB have STL? Pin
Michael P Butler17-Aug-02 3:51
Michael P Butler17-Aug-02 3:51 
Generalsimple browser Pin
slah16-Aug-02 23:43
slah16-Aug-02 23:43 
GeneralRe: simple browser Pin
bebe harhour17-Aug-02 0:32
bebe harhour17-Aug-02 0:32 
GeneralRe: simple browser Pin
Sijin17-Aug-02 1:14
Sijin17-Aug-02 1:14 
Generalusing complex template functions Pin
oRion16-Aug-02 22:49
oRion16-Aug-02 22:49 
GeneralRe: using complex template functions Pin
peterchen16-Aug-02 23:49
peterchen16-Aug-02 23:49 
GeneralRe: using complex template functions Pin
oRion17-Aug-02 2:43
oRion17-Aug-02 2:43 
GeneralRe: using complex template functions Pin
Sijin18-Aug-02 20:48
Sijin18-Aug-02 20:48 
GeneralNetworking API Pin
helsten216-Aug-02 21:47
helsten216-Aug-02 21:47 

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.