Click here to Skip to main content
15,867,308 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get Default shell command Pin
«_Superman_»11-Jul-09 20:10
professional«_Superman_»11-Jul-09 20:10 
GeneralRe: Get Default shell command Pin
vikrant kpr11-Jul-09 20:22
vikrant kpr11-Jul-09 20:22 
GeneralRe: Get Default shell command Pin
vikrant kpr11-Jul-09 20:24
vikrant kpr11-Jul-09 20:24 
GeneralRe: Get Default shell command Pin
Rozis11-Jul-09 23:20
Rozis11-Jul-09 23:20 
GeneralRe: Get Default shell command Pin
vikrant kpr13-Jul-09 1:24
vikrant kpr13-Jul-09 1:24 
QuestionShellExecute function? Pin
dipuks11-Jul-09 5:54
dipuks11-Jul-09 5:54 
AnswerRe: ShellExecute function? Pin
Stuart Dootson11-Jul-09 6:06
professionalStuart Dootson11-Jul-09 6:06 
QuestionMFC Exceptions Pin
rrrado11-Jul-09 5:22
rrrado11-Jul-09 5:22 
I'm using CArray - derived classes in my app. I have bug somewhere I cannot reproduce, I think it could be accessing CArray by index out of range (but I'm not sure). When I do so, default implementation CWinApp::ProcessWndProcException() displays the "An invalid argument was encountered." and after confirming program continues which is bad.
What I need to do is to make my program to crash, because I have exception handler in my app which creates and sends crash dump to me and I need to see which access to array caused the exeption. How can I disable default CException* handler?
I've overriden my ProcessWndProcException() and put THROW_LAST and also just "throw" but it didn't help. Message box was not displayed but nothing happened, program does not crash. Putting "int 3" into handler does not help, because it crashes but I cannot see in stack trace where was bad access to the array, just useless exception hadler. Any idea what could I do?
I don't want to add try/catch to each array access, there are dozens of that in program Frown | :(
Thank you.
AnswerRe: MFC Exceptions Pin
Stuart Dootson11-Jul-09 5:36
professionalStuart Dootson11-Jul-09 5:36 
GeneralRe: MFC Exceptions Pin
rrrado11-Jul-09 6:23
rrrado11-Jul-09 6:23 
GeneralRe: MFC Exceptions Pin
Stuart Dootson11-Jul-09 7:20
professionalStuart Dootson11-Jul-09 7:20 
GeneralRe: MFC Exceptions Pin
rrrado11-Jul-09 8:05
rrrado11-Jul-09 8:05 
GeneralRe: MFC Exceptions Pin
rrrado11-Jul-09 9:34
rrrado11-Jul-09 9:34 
GeneralRe: MFC Exceptions Pin
Stuart Dootson11-Jul-09 9:43
professionalStuart Dootson11-Jul-09 9:43 
GeneralRe: MFC Exceptions Pin
Stuart Dootson11-Jul-09 10:02
professionalStuart Dootson11-Jul-09 10:02 
GeneralRe: MFC Exceptions Pin
rrrado11-Jul-09 19:31
rrrado11-Jul-09 19:31 
QuestionRegarding Created Date Pin
kirankatta11-Jul-09 4:48
kirankatta11-Jul-09 4:48 
AnswerRe: Regarding Created Date Pin
Pardhu_M11-Jul-09 5:23
Pardhu_M11-Jul-09 5:23 
QuestionCoversion of SYSTEMTIME TO FILETIME Pin
Pardhu_M11-Jul-09 2:26
Pardhu_M11-Jul-09 2:26 
AnswerRe: Coversion of SYSTEMTIME TO FILETIME Pin
Stuart Dootson11-Jul-09 2:57
professionalStuart Dootson11-Jul-09 2:57 
GeneralRe: Coversion of SYSTEMTIME TO FILETIME Pin
Pardhu_M11-Jul-09 3:39
Pardhu_M11-Jul-09 3:39 
GeneralRe: Coversion of SYSTEMTIME TO FILETIME Pin
Stuart Dootson11-Jul-09 3:59
professionalStuart Dootson11-Jul-09 3:59 
GeneralRe: Coversion of SYSTEMTIME TO FILETIME Pin
Pardhu_M11-Jul-09 5:19
Pardhu_M11-Jul-09 5:19 
QuestionClipboard [modified] Pin
samira forooghi11-Jul-09 1:42
samira forooghi11-Jul-09 1:42 
QuestionHow to Get the path of Internet Explorer using C++ Pin
tns_ranjith11-Jul-09 0:20
tns_ranjith11-Jul-09 0:20 

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.