Click here to Skip to main content
15,893,564 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VSS integration Pin
shijuck8-Dec-04 16:25
shijuck8-Dec-04 16:25 
GeneralRe: VSS integration Pin
Michael Dunn11-Dec-04 5:39
sitebuilderMichael Dunn11-Dec-04 5:39 
QuestionWhat exception is thrown that I catch with a catch(..)? Pin
Per Nilsson7-Dec-04 20:48
Per Nilsson7-Dec-04 20:48 
AnswerRe: What exception is thrown that I catch with a catch(..)? Pin
toxcct7-Dec-04 21:25
toxcct7-Dec-04 21:25 
GeneralRe: What exception is thrown that I catch with a catch(..)? Pin
Per Nilsson7-Dec-04 22:06
Per Nilsson7-Dec-04 22:06 
GeneralRe: What exception is thrown that I catch with a catch(..)? Pin
toxcct7-Dec-04 22:10
toxcct7-Dec-04 22:10 
GeneralRe: What exception is thrown that I catch with a catch(..)? Pin
Steve S7-Dec-04 23:45
Steve S7-Dec-04 23:45 
AnswerRe: What exception is thrown that I catch with a catch(..)? Pin
Andrew Walker8-Dec-04 2:33
Andrew Walker8-Dec-04 2:33 
Most frameworks provide a base class that all exceptions should be derived from for this reason. For example MFC has a CException class.

In all but the most exceptional (pun intended) circumstances exceptions should derive from std::exception, the exception base class for the C++ Standard library. Rather than catch(...), use catch(std::exception& )


If you can keep you head when all about you
Are losing theirs and blaming it on you;
If you can dream - and not make dreams your master;
If you can think - and not make thoughts your aim;
Yours is the Earth and everything that's in it.

Rudyard Kipling

GeneralShowing image Pin
arus20047-Dec-04 20:28
arus20047-Dec-04 20:28 
GeneralRe: Showing image Pin
ssing7-Dec-04 21:06
ssing7-Dec-04 21:06 
GeneralRe: Showing image Pin
namaskaaram7-Dec-04 21:11
namaskaaram7-Dec-04 21:11 
GeneralRe: Showing image Pin
John R. Shaw7-Dec-04 21:23
John R. Shaw7-Dec-04 21:23 
Generaltemplate syntax help Pin
Tariq8787-Dec-04 20:14
Tariq8787-Dec-04 20:14 
GeneralRe: template syntax help Pin
John R. Shaw7-Dec-04 20:42
John R. Shaw7-Dec-04 20:42 
GeneralRe: template syntax help Pin
Michael Dunn7-Dec-04 21:18
sitebuilderMichael Dunn7-Dec-04 21:18 
GeneralFriend Function Pin
Abuamr7-Dec-04 19:54
Abuamr7-Dec-04 19:54 
GeneralRe: Friend Function Pin
John R. Shaw7-Dec-04 20:20
John R. Shaw7-Dec-04 20:20 
Generala prb. related to DirectShow using VC++ Pin
mirhamzah7-Dec-04 19:34
mirhamzah7-Dec-04 19:34 
GeneralRe: a prb. related to DirectShow using VC++ Pin
ssing7-Dec-04 20:55
ssing7-Dec-04 20:55 
GeneralRe: a prb. related to DirectShow using VC++ Pin
ssing7-Dec-04 20:59
ssing7-Dec-04 20:59 
Generalmfc Pin
sreeja777-Dec-04 19:15
sreeja777-Dec-04 19:15 
GeneralRe: mfc Pin
namaskaaram7-Dec-04 21:25
namaskaaram7-Dec-04 21:25 
GeneralDownloading a file with https URL Pin
ssing7-Dec-04 19:08
ssing7-Dec-04 19:08 
GeneralRe: Downloading a file with https URL Pin
ThatsAlok7-Dec-04 19:58
ThatsAlok7-Dec-04 19:58 
GeneralRe: Downloading a file with https URL Pin
ssing7-Dec-04 21:02
ssing7-Dec-04 21:02 

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.