Click here to Skip to main content
15,886,067 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CFileDialog bug on W2k !? Pin
Tomasz Sowinski24-Jul-02 0:33
Tomasz Sowinski24-Jul-02 0:33 
GeneralRe: CFileDialog bug on W2k !? Pin
Mandalay24-Jul-02 1:57
Mandalay24-Jul-02 1:57 
GeneralRe: CFileDialog bug on W2k !? Pin
Tomasz Sowinski24-Jul-02 2:02
Tomasz Sowinski24-Jul-02 2:02 
Generalfile system events Pin
sunil goyal23-Jul-02 21:49
sunil goyal23-Jul-02 21:49 
GeneralRe: file system events Pin
567890123423-Jul-02 22:47
567890123423-Jul-02 22:47 
GeneralAdd links to windows popup menus Pin
sunil goyal23-Jul-02 21:42
sunil goyal23-Jul-02 21:42 
GeneralRe: Add links to windows popup menus Pin
benjymous23-Jul-02 23:16
benjymous23-Jul-02 23:16 
GeneralConstructors - throw an exception if failed Pin
tom7623-Jul-02 21:36
tom7623-Jul-02 21:36 
Hi all,
I want my constructors (default, overloaded, and copy) to throw an exception if they fail.

My questions are
1) How can I test to see if the constructor has failed?
2) Should I create an exception class to throw exception objects rather than using text strings/integer codes?
3) Where does the catch block go? In the constructor body, or after creating an object in the .cpp file?

Thanks,
Daniel

Obseve everything, remember more...
GeneralRe: Constructors - throw an exception if failed Pin
Tomasz Sowinski24-Jul-02 1:09
Tomasz Sowinski24-Jul-02 1:09 
GeneralRe: Constructors - throw an exception if failed Pin
tom7624-Jul-02 1:45
tom7624-Jul-02 1:45 
GeneralRedirecting text to edit control Pin
Janine23-Jul-02 21:23
Janine23-Jul-02 21:23 
GeneralRe: Redirecting text to edit control Pin
Christian Graus23-Jul-02 21:40
protectorChristian Graus23-Jul-02 21:40 
GeneralRe: Redirecting text to edit control Pin
Janine23-Jul-02 22:06
Janine23-Jul-02 22:06 
GeneralRe: Redirecting text to edit control Pin
Christian Graus23-Jul-02 22:25
protectorChristian Graus23-Jul-02 22:25 
GeneralRe: Redirecting text to edit control Pin
Janine24-Jul-02 0:01
Janine24-Jul-02 0:01 
GeneralRe: Redirecting text to edit control Pin
Christian Graus24-Jul-02 2:28
protectorChristian Graus24-Jul-02 2:28 
GeneralRe: Redirecting text to edit control Pin
Janine24-Jul-02 2:42
Janine24-Jul-02 2:42 
GeneralRe: Redirecting text to edit control Pin
Christian Graus24-Jul-02 2:45
protectorChristian Graus24-Jul-02 2:45 
GeneralRe: Redirecting text to edit control Pin
Janine24-Jul-02 3:05
Janine24-Jul-02 3:05 
GeneralRe: Redirecting text to edit control Pin
Christian Graus25-Jul-02 2:39
protectorChristian Graus25-Jul-02 2:39 
GeneralRe: Redirecting text to edit control Pin
Janine25-Jul-02 3:27
Janine25-Jul-02 3:27 
GeneralRe: Redirecting text to edit control Pin
Daniel Lohmann23-Jul-02 23:18
Daniel Lohmann23-Jul-02 23:18 
GeneralRe: Redirecting text to edit control Pin
Janine24-Jul-02 2:24
Janine24-Jul-02 2:24 
GeneralRe: Redirecting text to edit control Pin
Mandalay24-Jul-02 2:02
Mandalay24-Jul-02 2:02 
GeneralSpreadsheet Programming Pin
Anonymous23-Jul-02 20:37
Anonymous23-Jul-02 20:37 

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.