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

C / C++ / MFC

 
GeneralRe: CwinThread::INITINSTANCE Pin
ForNow28-Jun-12 7:37
ForNow28-Jun-12 7:37 
GeneralRe: CwinThread::INITINSTANCE Pin
Albert Holguin28-Jun-12 11:11
professionalAlbert Holguin28-Jun-12 11:11 
GeneralRe: CwinThread::INITINSTANCE Pin
ForNow28-Jun-12 13:03
ForNow28-Jun-12 13:03 
QuestionHow to recognize table from PDF files by PageObject Rectangles? Pin
Falconapollo27-Jun-12 19:41
Falconapollo27-Jun-12 19:41 
AnswerRe: How to recognize table from PDF files by PageObject Rectangles? Pin
Richard MacCutchan27-Jun-12 22:22
mveRichard MacCutchan27-Jun-12 22:22 
QuestionException handler newbie question Pin
ForNow27-Jun-12 14:14
ForNow27-Jun-12 14:14 
AnswerRe: Exception handler newbie question Pin
Philippe Mori27-Jun-12 17:54
Philippe Mori27-Jun-12 17:54 
AnswerRe: Exception handler newbie question Pin
Sivaraman Dhamodharan28-Jun-12 1:39
Sivaraman Dhamodharan28-Jun-12 1:39 
Somebody will throw the ball and somebody should catch it. So you should know the possibility of piece of code that throws and should decide where to catch and what exactly to catch.

Say, if you place a try and catch block on the main() or Win main, and leave the catch block empty or look for a more generic CException, all the exception can be caught if it is not handled by the called functions. Which is bad in a big application with millions of code.

So define the try..catch to a narrow down piece of code, and catch the specific exception say filenotfound exception should caught from the piece of code that opens a file.

More Info: Exception Handling for C# Beginners[^]

GeneralRe: Exception handler newbie question Pin
ForNow28-Jun-12 2:43
ForNow28-Jun-12 2:43 
GeneralRe: Exception handler newbie question Pin
David Crow28-Jun-12 3:48
David Crow28-Jun-12 3:48 
GeneralRe: Exception handler newbie question Pin
ForNow28-Jun-12 7:25
ForNow28-Jun-12 7:25 
AnswerRe: Exception handler newbie question Pin
Peter_in_278028-Jun-12 3:52
professionalPeter_in_278028-Jun-12 3:52 
AnswerRe: Exception handler newbie question Pin
David Crow28-Jun-12 2:25
David Crow28-Jun-12 2:25 
Questionpthread_cancel issue Pin
ytubis27-Jun-12 9:32
ytubis27-Jun-12 9:32 
AnswerRe: pthread_cancel issue Pin
Luc Pattyn27-Jun-12 10:05
sitebuilderLuc Pattyn27-Jun-12 10:05 
GeneralRe: pthread_cancel issue Pin
ytubis27-Jun-12 10:31
ytubis27-Jun-12 10:31 
AnswerRe: pthread_cancel issue Pin
Luc Pattyn27-Jun-12 11:06
sitebuilderLuc Pattyn27-Jun-12 11:06 
Generalhelp: image coordinates(x,y) in opencv with mfc Pin
jawadali47726-Jun-12 19:07
jawadali47726-Jun-12 19:07 
AnswerRe: help: image coordinates(x,y) in opencv with mfc Pin
SoMad26-Jun-12 20:00
professionalSoMad26-Jun-12 20:00 
GeneralRe: help: image coordinates(x,y) in opencv with mfc Pin
jawadali47726-Jun-12 20:12
jawadali47726-Jun-12 20:12 
AnswerRe: help: image coordinates(x,y) in opencv with mfc Pin
SoMad26-Jun-12 20:32
professionalSoMad26-Jun-12 20:32 
GeneralRe: help: image coordinates(x,y) in opencv with mfc Pin
David Crow27-Jun-12 2:38
David Crow27-Jun-12 2:38 
GeneralRe: help: image coordinates(x,y) in opencv with mfc Pin
SoMad27-Jun-12 4:33
professionalSoMad27-Jun-12 4:33 
GeneralRe: help: image coordinates(x,y) in opencv with mfc Pin
SoMad26-Jun-12 21:23
professionalSoMad26-Jun-12 21:23 
GeneralRe: help: image coordinates(x,y) in opencv with mfc Pin
jawadali4778-Jul-12 22:08
jawadali4778-Jul-12 22:08 

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.