Click here to Skip to main content
16,006,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralError Handling in Functions Pin
Paul Watson28-Jul-02 22:37
sitebuilderPaul Watson28-Jul-02 22:37 
GeneralRe: Error Handling in Functions Pin
Nish Nishant28-Jul-02 23:54
sitebuilderNish Nishant28-Jul-02 23:54 
GeneralRe: Error Handling in Functions Pin
Paul Watson29-Jul-02 1:21
sitebuilderPaul Watson29-Jul-02 1:21 
GeneralRe: Error Handling in Functions Pin
Tomasz Sowinski29-Jul-02 1:03
Tomasz Sowinski29-Jul-02 1:03 
GeneralRe: Error Handling in Functions Pin
Paul Watson29-Jul-02 1:11
sitebuilderPaul Watson29-Jul-02 1:11 
GeneralRe: Error Handling in Functions Pin
Mike Nordell29-Jul-02 1:45
Mike Nordell29-Jul-02 1:45 
GeneralRe: Error Handling in Functions Pin
Paul Watson29-Jul-02 1:49
sitebuilderPaul Watson29-Jul-02 1:49 
GeneralRe: Error Handling in Functions Pin
Alexandru Savescu29-Jul-02 3:47
Alexandru Savescu29-Jul-02 3:47 
Well, it is nice to throw an exception. However, you must not throw an exception when a function should return false instead. Exception introduce some overhead (bigger exe, the stack gets unwound etc.). One should throw exceptions when something really unexpected happened, not when let's say the user pressed A when should have pressed B.

Best regards,
Alexandru Savescu
GeneralRe: Error Handling in Functions Pin
Paul Watson29-Jul-02 3:55
sitebuilderPaul Watson29-Jul-02 3:55 
GeneralRe: Error Handling in Functions Pin
Alexandru Savescu29-Jul-02 4:22
Alexandru Savescu29-Jul-02 4:22 
GeneralRe: Error Handling in Functions Pin
Paul Watson29-Jul-02 7:19
sitebuilderPaul Watson29-Jul-02 7:19 
GeneralRe: Error Handling in Functions Pin
Tomasz Sowinski29-Jul-02 4:56
Tomasz Sowinski29-Jul-02 4:56 
GeneralFlicker free drawing woes!!! Pin
alex.barylski28-Jul-02 21:52
alex.barylski28-Jul-02 21:52 
GeneralRe: Flicker free drawing woes!!! Pin
Tomasz Sowinski29-Jul-02 0:40
Tomasz Sowinski29-Jul-02 0:40 
GeneralRe: Flicker free drawing woes!!! Pin
alex.barylski29-Jul-02 2:09
alex.barylski29-Jul-02 2:09 
GeneralRe: Flicker free drawing woes!!! Pin
Tomasz Sowinski29-Jul-02 2:14
Tomasz Sowinski29-Jul-02 2:14 
GeneralRe: Flicker free drawing woes!!! Pin
alex.barylski29-Jul-02 2:16
alex.barylski29-Jul-02 2:16 
GeneralRe: Flicker free drawing woes!!! Pin
Tomasz Sowinski29-Jul-02 2:23
Tomasz Sowinski29-Jul-02 2:23 
GeneralRe: Flicker free drawing woes!!! Pin
Roger Allen29-Jul-02 1:22
Roger Allen29-Jul-02 1:22 
GeneralRe: Flicker free drawing woes!!! Pin
alex.barylski29-Jul-02 2:20
alex.barylski29-Jul-02 2:20 
GeneralRe: Flicker free drawing woes!!! Pin
Roger Allen29-Jul-02 3:47
Roger Allen29-Jul-02 3:47 
GeneralRe: Flicker free drawing woes!!! Pin
Roman Nurik29-Jul-02 7:24
Roman Nurik29-Jul-02 7:24 
GeneralRe: Flicker free drawing woes!!! Pin
alex.barylski29-Jul-02 19:04
alex.barylski29-Jul-02 19:04 
GeneralRead file Pin
suresh_sathya28-Jul-02 20:37
suresh_sathya28-Jul-02 20:37 
GeneralRe: Read file Pin
Mike Nordell28-Jul-02 22:12
Mike Nordell28-Jul-02 22: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.