Click here to Skip to main content
15,914,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralBOOL to bool conversion Pin
J.B.4-Jul-04 6:39
J.B.4-Jul-04 6:39 
GeneralRe: BOOL to bool conversion Pin
User 66584-Jul-04 7:07
User 66584-Jul-04 7:07 
GeneralRe: BOOL to bool conversion Pin
Tim Smith4-Jul-04 7:12
Tim Smith4-Jul-04 7:12 
GeneralRe: BOOL to bool conversion Pin
J.B.4-Jul-04 7:19
J.B.4-Jul-04 7:19 
GeneralRe: BOOL to bool conversion Pin
User 66584-Jul-04 7:34
User 66584-Jul-04 7:34 
GeneralRe: BOOL to bool conversion Pin
A T I F4-Jul-04 22:14
A T I F4-Jul-04 22:14 
GeneralRe: BOOL to bool conversion Pin
User 66585-Jul-04 0:54
User 66585-Jul-04 0:54 
GeneralRe: BOOL to bool conversion Pin
Tim Smith5-Jul-04 4:03
Tim Smith5-Jul-04 4:03 
The WIN32 API is a bit of a minefield when it comes to BOOL processing. On NT the API might return a true TRUE/FALSE while on Win9x, then API might return ==0/!=0. This is why I always say to play it safe and never test for "== TRUE".

Tim Smith

I'm going to patent thought. I have yet to see any prior art.
GeneralRe: BOOL to bool conversion Pin
V.4-Jul-04 22:18
professionalV.4-Jul-04 22:18 
GeneralRe: BOOL to bool conversion Pin
Tim Smith5-Jul-04 4:01
Tim Smith5-Jul-04 4:01 
GeneralUsing MFC in Win32 Application Pin
vyjesh4-Jul-04 0:33
vyjesh4-Jul-04 0:33 
GeneralRe: Using MFC in Win32 Application Pin
gamitech4-Jul-04 6:19
gamitech4-Jul-04 6:19 
GeneralRe: Using MFC in Win32 Application Pin
Frank K4-Jul-04 19:34
Frank K4-Jul-04 19:34 
Generalproblem with console app Pin
cpeed4-Jul-04 0:29
cpeed4-Jul-04 0:29 
GeneralRe: problem with console app Pin
Mike Nordell4-Jul-04 1:17
Mike Nordell4-Jul-04 1:17 
GeneralRe: problem with console app Pin
cpeed4-Jul-04 1:25
cpeed4-Jul-04 1:25 
Generalthe "outp" command Pin
Member 12178723-Jul-04 22:59
Member 12178723-Jul-04 22:59 
GeneralRe: the "outp" command Pin
peterchen4-Jul-04 0:30
peterchen4-Jul-04 0:30 
Generalthe "outp" command Pin
Member 12178723-Jul-04 22:56
Member 12178723-Jul-04 22:56 
Generalthe "outp" command Pin
Member 12178723-Jul-04 19:24
Member 12178723-Jul-04 19:24 
GeneralRe: the "outp" command Pin
Michael Dunn3-Jul-04 20:40
sitebuilderMichael Dunn3-Jul-04 20:40 
GeneralRe: the "outp" command Pin
Johan Rosengren3-Jul-04 21:02
Johan Rosengren3-Jul-04 21:02 
Generaldialog box help Pin
AmericanBacon3-Jul-04 15:15
AmericanBacon3-Jul-04 15:15 
GeneralRe: dialog box help Pin
Ravi Bhavnani3-Jul-04 16:04
professionalRavi Bhavnani3-Jul-04 16:04 
GeneralRe: dialog box help Pin
PJ Arends3-Jul-04 17:22
professionalPJ Arends3-Jul-04 17:22 

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.