Click here to Skip to main content
16,008,183 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Basic operator overloading Pin
Saurabh.Garg6-Jul-08 18:05
Saurabh.Garg6-Jul-08 18:05 
AnswerRe: Basic operator overloading [modified] Pin
Luc Pattyn6-Jul-08 10:03
sitebuilderLuc Pattyn6-Jul-08 10:03 
GeneralRe: Basic operator overloading Pin
Graham Shanks6-Jul-08 10:37
Graham Shanks6-Jul-08 10:37 
GeneralRe: Basic operator overloading Pin
Luc Pattyn6-Jul-08 11:15
sitebuilderLuc Pattyn6-Jul-08 11:15 
AnswerRe: Basic operator overloading Pin
Dan6-Jul-08 12:54
Dan6-Jul-08 12:54 
GeneralRe: Basic operator overloading Pin
bkelly136-Jul-08 16:03
bkelly136-Jul-08 16:03 
QuestionHow to perform structured exception handling in Windows Vista Pin
V K 26-Jul-08 5:09
V K 26-Jul-08 5:09 
AnswerRe: How to perform structured exception handling in Windows Vista Pin
Stephen Hewitt6-Jul-08 15:37
Stephen Hewitt6-Jul-08 15:37 
Using IsBadReadPtr or Structured Exception Handling (or for that matter any other method) to detect illegal memory accesses is wrong headed in the vast majority of cases. There are many issues but here are a few:
  - Makes debugging harder as an exception that would have triggered a debugger or the generation of a crash dump is swallowed. I do a lot of post-mortem debugging: when you click the “Send Error Report” button, in theory, someone will look at the dump-file which is sent and actually figure out what’s going on. If you don't use the Windows Error Reporting[^] service (or something else which performs the same task) then you're doing it wrong.
  - In general proper recovery is impossible and attempting to just makes things worse. An analogy is a person who continues to drive with a flat tire.

Follow link this[^] for Larry Osterman's opinion on the matter and follow this[^] link for Raymond Chen's.

Steve

GeneralRe: How to perform structured exception handling in Windows Vista Pin
V K 26-Jul-08 17:49
V K 26-Jul-08 17:49 
GeneralRe: How to perform structured exception handling in Windows Vista Pin
Saurabh.Garg6-Jul-08 18:08
Saurabh.Garg6-Jul-08 18:08 
GeneralRe: How to perform structured exception handling in Windows Vista Pin
Stephen Hewitt6-Jul-08 18:28
Stephen Hewitt6-Jul-08 18:28 
QuestionReplacement for IsBadReadPtr in Windows Vista Pin
V K 26-Jul-08 4:46
V K 26-Jul-08 4:46 
AnswerRe: Replacement for IsBadReadPtr in Windows Vista Pin
CPallini6-Jul-08 5:02
mveCPallini6-Jul-08 5:02 
GeneralRe: Replacement for IsBadReadPtr in Windows Vista Pin
V K 26-Jul-08 5:10
V K 26-Jul-08 5:10 
GeneralRe: Replacement for IsBadReadPtr in Windows Vista Pin
CPallini6-Jul-08 5:22
mveCPallini6-Jul-08 5:22 
GeneralRe: Replacement for IsBadReadPtr in Windows Vista Pin
Luc Pattyn6-Jul-08 11:35
sitebuilderLuc Pattyn6-Jul-08 11:35 
GeneralRe: Replacement for IsBadReadPtr in Windows Vista Pin
CPallini6-Jul-08 21:14
mveCPallini6-Jul-08 21:14 
AnswerRe: Replacement for IsBadReadPtr in Windows Vista Pin
Bram van Kampen6-Jul-08 13:24
Bram van Kampen6-Jul-08 13:24 
AnswerRe: Replacement for IsBadReadPtr in Windows Vista Pin
Stephen Hewitt6-Jul-08 15:53
Stephen Hewitt6-Jul-08 15:53 
QuestionDomain Controller SID in WMI Pin
Green Fuze6-Jul-08 1:32
Green Fuze6-Jul-08 1:32 
AnswerRe: Domain Controller SID in WMI Pin
Saurabh.Garg6-Jul-08 2:13
Saurabh.Garg6-Jul-08 2:13 
GeneralRe: Domain Controller SID in WMI Pin
Green Fuze6-Jul-08 4:14
Green Fuze6-Jul-08 4:14 
GeneralRe: Domain Controller SID in WMI Pin
Green Fuze6-Jul-08 4:44
Green Fuze6-Jul-08 4:44 
GeneralRe: Domain Controller SID in WMI Pin
Saurabh.Garg6-Jul-08 5:28
Saurabh.Garg6-Jul-08 5:28 
Questionhow to save uncompressed tiff image ?? Pin
amit shrestha5-Jul-08 20:15
amit shrestha5-Jul-08 20:15 

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.