Click here to Skip to main content
15,911,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralDisplaying line numbers Pin
Sanjay K17-Jan-08 1:08
Sanjay K17-Jan-08 1:08 
GeneralRe: Displaying line numbers Pin
Iain Clarke, Warrior Programmer17-Jan-08 2:04
Iain Clarke, Warrior Programmer17-Jan-08 2:04 
QuestionRe: Displaying line numbers Pin
David Crow17-Jan-08 2:29
David Crow17-Jan-08 2:29 
GeneralRe: Displaying line numbers Pin
Hamid_RT17-Jan-08 18:08
Hamid_RT17-Jan-08 18:08 
QuestionHow to use libwww Pin
ktm TechMan17-Jan-08 0:35
ktm TechMan17-Jan-08 0:35 
GeneralError handling - a best way Pin
CodingLover16-Jan-08 22:23
CodingLover16-Jan-08 22:23 
GeneralRe: Error handling - a best way Pin
CPallini16-Jan-08 23:21
mveCPallini16-Jan-08 23:21 
GeneralRe: Error handling - a best way Pin
CodingLover16-Jan-08 23:38
CodingLover16-Jan-08 23:38 
CPallini wrote:
This kind of error reporting is simple and clean, well suited for the developer.


Yes it is. All the time I use it and depend on that, and try to corrected errors as much possible.


CPallini wrote:
Usually the user expects a more friendly approach, like a text message


That is why I really looking for it. I found on MSDN FormatMessage function used in Windows. But seems it is more complicated at the time for me. I'll try to figure it out.


CPallini wrote:
I suggest you to always report the error number together with such message.


Ok, actually there is only a word "Error" depend on the code I change it, "Error in opening file." or something like that. Smile | :)

I appreciate your help all the time...
Eranga Smile | :)

GeneralRe: Error handling - a best way Pin
CPallini17-Jan-08 0:22
mveCPallini17-Jan-08 0:22 
GeneralRe: Error handling - a best way Pin
CodingLover17-Jan-08 0:42
CodingLover17-Jan-08 0:42 
QuestionRe: Error handling - a best way Pin
David Crow17-Jan-08 2:31
David Crow17-Jan-08 2:31 
GeneralRe: Error handling - a best way Pin
CPallini17-Jan-08 3:32
mveCPallini17-Jan-08 3:32 
GeneralRe: Error handling - a best way Pin
Nishad S16-Jan-08 23:56
Nishad S16-Jan-08 23:56 
GeneralRe: Error handling - a best way Pin
CodingLover17-Jan-08 0:33
CodingLover17-Jan-08 0:33 
GeneralRe: Error handling - a best way Pin
Nishad S17-Jan-08 0:53
Nishad S17-Jan-08 0:53 
GeneralRe: Error handling - a best way Pin
James R. Twine17-Jan-08 4:11
James R. Twine17-Jan-08 4:11 
GeneralRe: Error handling - a best way Pin
CodingLover17-Jan-08 15:09
CodingLover17-Jan-08 15:09 
Generalcompile error about void* Pin
George_George16-Jan-08 21:10
George_George16-Jan-08 21:10 
GeneralRe: compile error about void* Pin
Cedric Moonen16-Jan-08 21:20
Cedric Moonen16-Jan-08 21:20 
GeneralRe: compile error about void* Pin
George_George16-Jan-08 21:58
George_George16-Jan-08 21:58 
QuestionRe: compile error about void* Pin
David Crow17-Jan-08 2:34
David Crow17-Jan-08 2:34 
GeneralRe: compile error about void* Pin
George_George17-Jan-08 2:48
George_George17-Jan-08 2:48 
GeneralRe: compile error about void* Pin
David Crow17-Jan-08 3:13
David Crow17-Jan-08 3:13 
GeneralRe: compile error about void* Pin
George_George17-Jan-08 3:29
George_George17-Jan-08 3:29 
QuestionRe: compile error about void* Pin
David Crow17-Jan-08 3:40
David Crow17-Jan-08 3:40 

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.