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

C / C++ / MFC

 
QuestionRe: How can Get RECT value? Pin
CPallini19-Dec-08 2:37
mveCPallini19-Dec-08 2:37 
QuestionException handling in C++ Pin
San19-Dec-08 1:03
San19-Dec-08 1:03 
AnswerRe: Exception handling in C++ [modified] Pin
Jijo.Raj19-Dec-08 1:54
Jijo.Raj19-Dec-08 1:54 
GeneralRe: Exception handling in C++ Pin
Stuart Dootson19-Dec-08 2:24
professionalStuart Dootson19-Dec-08 2:24 
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 
Jijo raj wrote:
Well, the reason for crash is due to the fact that MyErrorClass::i is being de-allocated twice, since the copy constructor is not written for deep copy


You're quite correct - I didn't get a crash because I compiled with a non-debug runtime library. Even so, I'd still recommend throwing objects, not pointers - the real solution is for the OP to write a better exception class, I think.

Jijo raj wrote:
I'm using Visual Studio 6.0. Which one you're using?


2003, 2005 and 2008 - certainly not VC6!!! The reason I don't use VC6 is because it is so primitive in terms of C++ language support.
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 
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 

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.