Click here to Skip to main content
15,888,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Menu with images Pin
Alex Cutovoi21-May-07 8:33
Alex Cutovoi21-May-07 8:33 
GeneralRe: Menu with images Pin
Hamid_RT21-May-07 8:36
Hamid_RT21-May-07 8:36 
GeneralRe: Menu with images Pin
Alex Cutovoi22-May-07 2:00
Alex Cutovoi22-May-07 2:00 
GeneralRe: Menu with images Pin
Hamid_RT22-May-07 2:09
Hamid_RT22-May-07 2:09 
AnswerRe: Menu with images Pin
Manoj Kumar Rai21-May-07 19:46
professionalManoj Kumar Rai21-May-07 19:46 
GeneralRe: Menu with images Pin
Alex Cutovoi22-May-07 2:03
Alex Cutovoi22-May-07 2:03 
QuestionException handling or return value Pin
Raj Prathap21-May-07 2:32
Raj Prathap21-May-07 2:32 
AnswerRe: Exception handling or return value Pin
CPallini21-May-07 3:10
mveCPallini21-May-07 3:10 
IMHO you need a decision between throwing an exception or returning a specific error code.

If it is as above stated, then I think:

(1) If it's your own application (entirely developed by you) then you can (almost) safely rely on return error codes, since you know that calling methods must always check the return values.

(2) If your're working in team then throw, throw, throw: never trust your mates coding neatness!!!

Hope that helps.

Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

GeneralRe: Exception handling or return value Pin
Raj Prathap21-May-07 18:22
Raj Prathap21-May-07 18:22 
GeneralRe: Exception handling or return value Pin
Nelek21-May-07 19:53
protectorNelek21-May-07 19:53 
GeneralRe: Exception handling or return value Pin
CPallini21-May-07 20:46
mveCPallini21-May-07 20:46 
GeneralRe: Exception handling or return value Pin
Raj Prathap21-May-07 23:17
Raj Prathap21-May-07 23:17 
QuestionGroupbox flickering Pin
baerten21-May-07 2:31
baerten21-May-07 2:31 
QuestionHow to insert a binary file into SQL database, via ADO Pin
lilnelse21-May-07 2:15
lilnelse21-May-07 2:15 
QuestionRe: How to insert a binary file into SQL database, via ADO Pin
David Crow21-May-07 3:03
David Crow21-May-07 3:03 
AnswerRe: How to insert a binary file into SQL database, via ADO Pin
lilnelse21-May-07 16:56
lilnelse21-May-07 16:56 
AnswerRe: How to insert a binary file into SQL database, via ADO Pin
lilnelse21-May-07 17:05
lilnelse21-May-07 17:05 
QuestionRead Excel file Pin
Syamlal S Nair21-May-07 2:14
Syamlal S Nair21-May-07 2:14 
AnswerRe: Read Excel file Pin
David Crow21-May-07 3:08
David Crow21-May-07 3:08 
AnswerRe: Read Excel file Pin
Hamid_RT21-May-07 6:54
Hamid_RT21-May-07 6:54 
AnswerRe: Read Excel file Pin
Sameerkumar Namdeo21-May-07 21:07
Sameerkumar Namdeo21-May-07 21:07 
QuestionVC6 to VC8: how to set two libs in the VC8 to be linked with the project? Pin
Joan M21-May-07 2:02
professionalJoan M21-May-07 2:02 
AnswerRe: VC6 to VC8: how to set two libs in the VC8 to be linked with the project? Pin
JudyL_MD21-May-07 2:10
JudyL_MD21-May-07 2:10 
AnswerRe: VC6 to VC8: how to set two libs in the VC8 to be linked with the project? Pin
Cedric Moonen21-May-07 2:11
Cedric Moonen21-May-07 2:11 
QuestionHow to retain the values Pin
jannathali21-May-07 1:56
jannathali21-May-07 1:56 

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.