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

C / C++ / MFC

 
AnswerRe: Convert total seconds to date time format Pin
_AnsHUMAN_ 10-Nov-08 18:36
_AnsHUMAN_ 10-Nov-08 18:36 
GeneralRe: Convert total seconds to date time format Pin
Arif Liminto10-Nov-08 18:53
professionalArif Liminto10-Nov-08 18:53 
QuestionDrawing a windows without system frame Pin
Nacho Chip10-Nov-08 12:54
Nacho Chip10-Nov-08 12:54 
AnswerRe: Drawing a windows without system frame Pin
enhzflep10-Nov-08 14:28
enhzflep10-Nov-08 14:28 
Questionneed help Pin
faradgi10-Nov-08 9:56
faradgi10-Nov-08 9:56 
AnswerRe: need help Pin
Perspx10-Nov-08 10:27
Perspx10-Nov-08 10:27 
AnswerSTOP SPAMMING ALL THE FORUMS Pin
leckey10-Nov-08 11:07
leckey10-Nov-08 11:07 
GeneralRe: STOP SPAMMING ALL THE FORUMS Pin
Paul Conrad10-Nov-08 14:57
professionalPaul Conrad10-Nov-08 14:57 
GeneralRe: STOP SPAMMING ALL THE FORUMS Pin
leckey10-Nov-08 15:02
leckey10-Nov-08 15:02 
QuestionHow to show a value in an Edit Textbox Pin
J_E_D_I10-Nov-08 8:37
J_E_D_I10-Nov-08 8:37 
AnswerRe: How to show a value in an Edit Textbox Pin
David Crow10-Nov-08 9:16
David Crow10-Nov-08 9:16 
GeneralRe: How to show a value in an Edit Textbox Pin
J_E_D_I10-Nov-08 9:51
J_E_D_I10-Nov-08 9:51 
AnswerRe: How to show a value in an Edit Textbox Pin
CPallini10-Nov-08 9:27
mveCPallini10-Nov-08 9:27 
Questionpragma comment for resource files Pin
Jim Crafton10-Nov-08 5:44
Jim Crafton10-Nov-08 5:44 
AnswerRe: pragma comment for resource files Pin
cmk10-Nov-08 8:07
cmk10-Nov-08 8:07 
GeneralRe: pragma comment for resource files Pin
Jim Crafton10-Nov-08 8:15
Jim Crafton10-Nov-08 8:15 
GeneralRe: pragma comment for resource files Pin
cmk10-Nov-08 11:05
cmk10-Nov-08 11:05 
QuestionUnhandled Exception on CreateFile Pin
jimjim73310-Nov-08 4:25
jimjim73310-Nov-08 4:25 
QuestionRe: Unhandled Exception on CreateFile Pin
David Crow10-Nov-08 5:54
David Crow10-Nov-08 5:54 
QuestionRe: Unhandled Exception on CreateFile Pin
CPallini10-Nov-08 6:07
mveCPallini10-Nov-08 6:07 
AnswerRe: Unhandled Exception on CreateFile Pin
Mark Salsbery10-Nov-08 6:49
Mark Salsbery10-Nov-08 6:49 
GeneralRe: Unhandled Exception on CreateFile Pin
CPallini10-Nov-08 7:24
mveCPallini10-Nov-08 7:24 
GeneralRe: Unhandled Exception on CreateFile Pin
Mark Salsbery10-Nov-08 7:37
Mark Salsbery10-Nov-08 7:37 
CPallini wrote:
NULL is not INVALID_HANDLE_VALUE, but (I guess) it is still is an invalid handle value.


In reality, yes.

But that assumption is BAD programming when the API docs clearly state
the return value is either a valid handle or INVALID_HANDLE_VALUE. Smile | :)

Not everything uses 0 as invalid values....that was my main point to the OP Smile | :)

Poke tongue | ;-P

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

JokeRe: Unhandled Exception on CreateFile Pin
CPallini10-Nov-08 7:50
mveCPallini10-Nov-08 7:50 
JokeRe: Unhandled Exception on CreateFile Pin
Mark Salsbery10-Nov-08 8:03
Mark Salsbery10-Nov-08 8:03 

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.