Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Problem with GetAdaptersAddresses in Windows Vista Pin
David Crow11-Nov-08 7:20
David Crow11-Nov-08 7:20 
Questionproblem in Creating a FILE Pin
m_mun10-Nov-08 23:58
m_mun10-Nov-08 23:58 
AnswerRe: problem in Creating a FILE Pin
sashoalm11-Nov-08 0:26
sashoalm11-Nov-08 0:26 
AnswerRe: problem in Creating a FILE Pin
CPallini11-Nov-08 0:37
mveCPallini11-Nov-08 0:37 
GeneralRe: problem in Creating a FILE Pin
m_mun11-Nov-08 0:50
m_mun11-Nov-08 0:50 
QuestionIs it good practice to use TRY-CATCH in this way? Pin
paresh_joe10-Nov-08 23:33
paresh_joe10-Nov-08 23:33 
AnswerRe: Is it good practice to use TRY-CATCH in this way? Pin
Hector_M11-Nov-08 0:34
Hector_M11-Nov-08 0:34 
AnswerRe: Is it good practice to use TRY-CATCH in this way? Pin
bulg11-Nov-08 7:42
bulg11-Nov-08 7:42 
I may be wrong, but Exceptions seem to me to be an unexpected error (out of bounds memory, couldn't allocate enough memory, divide by zero), while something like HRESULT return value schemes tend to look for and handle expected errors.

So to answer whether or not using try{}catch{} is good practice, you have to explain (to yourself or to us) why you're using them. Sorry for the generic answer, but coding is all about using the right tool for the job, just like anything else - otherwise you end up in this forum too often.[^]
QuestionProblem occur to access dll dialog box Pin
ShilpiP10-Nov-08 23:20
ShilpiP10-Nov-08 23:20 
AnswerRe: Problem occur to access dll dialog box Pin
SandipG 10-Nov-08 23:26
SandipG 10-Nov-08 23:26 
GeneralRe: Problem occur to access dll dialog box Pin
ShilpiP10-Nov-08 23:49
ShilpiP10-Nov-08 23:49 
AnswerRe: Problem occur to access dll dialog box Pin
CPallini10-Nov-08 23:27
mveCPallini10-Nov-08 23:27 
GeneralRe: Problem occur to access dll dialog box Pin
ShilpiP10-Nov-08 23:47
ShilpiP10-Nov-08 23:47 
GeneralRe: Problem occur to access dll dialog box Pin
Mark Salsbery11-Nov-08 6:24
Mark Salsbery11-Nov-08 6:24 
GeneralRe: Problem occur to access dll dialog box Pin
ShilpiP11-Nov-08 18:11
ShilpiP11-Nov-08 18:11 
GeneralRe: Problem occur to access dll dialog box Pin
Mark Salsbery11-Nov-08 18:15
Mark Salsbery11-Nov-08 18:15 
GeneralRe: Problem occur to access dll dialog box Pin
ShilpiP11-Nov-08 18:45
ShilpiP11-Nov-08 18:45 
GeneralRe: Problem occur to access dll dialog box Pin
Mark Salsbery11-Nov-08 18:52
Mark Salsbery11-Nov-08 18:52 
GeneralRe: Problem occur to access dll dialog box Pin
ShilpiP11-Nov-08 19:18
ShilpiP11-Nov-08 19:18 
GeneralRe: Problem occur to access dll dialog box Pin
Mark Salsbery11-Nov-08 20:28
Mark Salsbery11-Nov-08 20:28 
GeneralRe: Problem occur to access dll dialog box Pin
ShilpiP12-Nov-08 18:04
ShilpiP12-Nov-08 18:04 
GeneralRe: Problem occur to access dll dialog box Pin
Mark Salsbery12-Nov-08 20:47
Mark Salsbery12-Nov-08 20:47 
QuestionHow to return multiple values in MFC ActiveX? Pin
followait10-Nov-08 22:51
followait10-Nov-08 22:51 
AnswerRe: How to return multiple values in MFC ActiveX? Pin
Roger Stoltz10-Nov-08 23:05
Roger Stoltz10-Nov-08 23:05 
GeneralRe: How to return multiple values in MFC ActiveX? Pin
followait10-Nov-08 23:24
followait10-Nov-08 23:24 

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.