Click here to Skip to main content
15,890,336 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Exception handling in C++ Pin
Jijo.Raj19-Dec-08 2:29
Jijo.Raj19-Dec-08 2:29 
GeneralRe: Exception handling in C++ Pin
Stuart Dootson19-Dec-08 2:34
professionalStuart Dootson19-Dec-08 2:34 
GeneralRe: Exception handling in C++ Pin
Jijo.Raj19-Dec-08 2:41
Jijo.Raj19-Dec-08 2:41 
GeneralRe: Exception handling in C++ Pin
Stuart Dootson19-Dec-08 2:54
professionalStuart Dootson19-Dec-08 2:54 
GeneralRe: Exception handling in C++ Pin
Jijo.Raj19-Dec-08 3:25
Jijo.Raj19-Dec-08 3:25 
GeneralRe: Exception handling in C++ Pin
Stuart Dootson19-Dec-08 3:42
professionalStuart Dootson19-Dec-08 3:42 
AnswerRe: Exception handling in C++ [modified] Pin
Stuart Dootson19-Dec-08 2:27
professionalStuart Dootson19-Dec-08 2:27 
AnswerRe: Exception handling in C++ Pin
Stuart Dootson19-Dec-08 2:58
professionalStuart Dootson19-Dec-08 2:58 
As Jijo says, you get a crash (if you're using the right runtime) because your exception object isn't written in such a way that it can be copied correctly.

I would suggest changing i to be a std::vector<int> and reason to be a std::string, because these can be copied successfully (unlike raw pointers to dynamically allocated memory). You also don't need to bother deleteing them.
QuestionHow to prevent ScrollBar hiding in a ScrollView Pin
pauvc19-Dec-08 0:50
pauvc19-Dec-08 0:50 
QuestionFSCTL_GET_VOLUME_BITMAP Pin
john563218-Dec-08 23:59
john563218-Dec-08 23:59 
AnswerRe: FSCTL_GET_VOLUME_BITMAP Pin
Jijo.Raj19-Dec-08 0:24
Jijo.Raj19-Dec-08 0:24 
GeneralRe: FSCTL_GET_VOLUME_BITMAP Pin
john563219-Dec-08 0:41
john563219-Dec-08 0:41 
GeneralRe: FSCTL_GET_VOLUME_BITMAP Pin
Jijo.Raj19-Dec-08 0:46
Jijo.Raj19-Dec-08 0:46 
GeneralRe: FSCTL_GET_VOLUME_BITMAP Pin
john563219-Dec-08 1:12
john563219-Dec-08 1:12 
QuestionHow to extract a substring from a string in visual c++ Pin
kapardhi18-Dec-08 22:01
kapardhi18-Dec-08 22:01 
AnswerRe: How to extract a substring from a string in visual c++ Pin
Cedric Moonen18-Dec-08 22:15
Cedric Moonen18-Dec-08 22:15 
AnswerRe: How to extract a substring from a string in visual c++ Pin
Iain Clarke, Warrior Programmer18-Dec-08 22:19
Iain Clarke, Warrior Programmer18-Dec-08 22:19 
AnswerRe: How to extract a substring from a string in visual c++ Pin
Hamid_RT18-Dec-08 23:18
Hamid_RT18-Dec-08 23:18 
QuestionMultiple Row selection in the Grid. Pin
Royaltvk18-Dec-08 21:30
Royaltvk18-Dec-08 21:30 
Questiondifference between Events and functions Pin
shaina223118-Dec-08 21:03
shaina223118-Dec-08 21:03 
AnswerRe: difference between Events and functions Pin
Cedric Moonen18-Dec-08 21:12
Cedric Moonen18-Dec-08 21:12 
AnswerRe: difference between Events and functions Pin
Hamid_RT18-Dec-08 21:24
Hamid_RT18-Dec-08 21:24 
AnswerRe: difference between Events and functions Pin
Roger Stoltz18-Dec-08 22:05
Roger Stoltz18-Dec-08 22:05 
AnswerRe: difference between Events and functions Pin
Emilio Garavaglia18-Dec-08 23:09
Emilio Garavaglia18-Dec-08 23:09 
QuestionBack Image in TreeCtrl ! Pin
Le@rner18-Dec-08 20:54
Le@rner18-Dec-08 20:54 

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.