Click here to Skip to main content
15,922,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: push button Pin
ask_you1-Jun-05 0:12
ask_you1-Jun-05 0:12 
GeneralRe: push button Pin
Nilesh K.1-Jun-05 0:20
Nilesh K.1-Jun-05 0:20 
GeneralRe: push button Pin
ask_you1-Jun-05 0:35
ask_you1-Jun-05 0:35 
GeneralRe: push button Pin
Nilesh K.1-Jun-05 16:20
Nilesh K.1-Jun-05 16:20 
QuestionHow CreateFile can fail??? Pin
Dimitris Vikeloudas31-May-05 23:16
Dimitris Vikeloudas31-May-05 23:16 
AnswerRe: How CreateFile can fail??? Pin
Cedric Moonen31-May-05 23:36
Cedric Moonen31-May-05 23:36 
GeneralRe: How CreateFile can fail??? Pin
Nilesh K.31-May-05 23:51
Nilesh K.31-May-05 23:51 
GeneralThanks but not what I am actually looking for... Pin
Dimitris Vikeloudas1-Jun-05 0:36
Dimitris Vikeloudas1-Jun-05 0:36 
Thanks for your help.

I am aware of the FormatMessage API. The Error Lookup is also a good tool. However, all these come from the wrong direction; once you know the error.

My problem is that I cannot find documentation about all possible errors. I would like to write a switch statement of the GetLastError numbers and direct my code to handle important errors in a more appropriate manner than reporting them to the user. And there is where my problem comes. I do not have a list of those errors; not only for CreateFile but for almost and window function.

Look the UNIX manual for open() (E.g. in http://www.rt.com/man/open.2.html) They have a list of all possible errno values that open may return, not all possible errno values in the whole O.S. Why Microsoft never does that for Win32?? Or if it did where can I find it?

Thanks for any help

Life is river with mist ahead...
GeneralRe: Thanks but not what I am actually looking for... Pin
geo_m1-Jun-05 1:36
geo_m1-Jun-05 1:36 
AnswerRe: How CreateFile can fail??? Pin
Ravi Bhavnani1-Jun-05 11:43
professionalRavi Bhavnani1-Jun-05 11:43 
AnswerRe: How CreateFile can fail??? Pin
Ravi Bhavnani1-Jun-05 11:45
professionalRavi Bhavnani1-Jun-05 11:45 
Questionntohl() in eVC pocketpc application? Pin
zuschauer198031-May-05 23:13
zuschauer198031-May-05 23:13 
GeneralPrinting Pin
sirtimid31-May-05 23:01
sirtimid31-May-05 23:01 
GeneralRe: Printing Pin
PJ Arends31-May-05 23:10
professionalPJ Arends31-May-05 23:10 
GeneralRe: Printing Pin
Nilesh K.1-Jun-05 0:01
Nilesh K.1-Jun-05 0:01 
GeneralProblem receiving UDP packets Pin
ilgale31-May-05 22:48
ilgale31-May-05 22:48 
Generalfstream buffer limits Pin
mcsherry31-May-05 22:30
mcsherry31-May-05 22:30 
GeneralMFC, push release button help Pin
Rostfrei31-May-05 22:26
Rostfrei31-May-05 22:26 
GeneralConverting txt to bmp Pin
Nilesh K.31-May-05 22:09
Nilesh K.31-May-05 22:09 
GeneralRe: Converting txt to bmp Pin
PJ Arends31-May-05 22:15
professionalPJ Arends31-May-05 22:15 
GeneralRe: Converting txt to bmp Pin
Nilesh K.31-May-05 22:24
Nilesh K.31-May-05 22:24 
GeneralRe: Converting txt to bmp Pin
PJ Arends31-May-05 23:01
professionalPJ Arends31-May-05 23:01 
GeneralRe: Converting txt to bmp Pin
Nilesh K.31-May-05 23:14
Nilesh K.31-May-05 23:14 
GeneralRe: Converting txt to bmp Pin
ThatsAlok1-Jun-05 0:15
ThatsAlok1-Jun-05 0:15 
GeneralRe: Converting txt to bmp Pin
Nilesh K.1-Jun-05 0:23
Nilesh K.1-Jun-05 0:23 

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.