Click here to Skip to main content
16,012,168 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How set cursor for CRectTracker Pin
Joaquín M López Muñoz8-Jan-02 2:34
Joaquín M López Muñoz8-Jan-02 2:34 
GeneralRe: How set cursor for CRectTracker Pin
Eugene Pustovoyt8-Jan-02 20:20
Eugene Pustovoyt8-Jan-02 20:20 
GeneralWhy using BOOL over bool (or not) Pin
EiSl7-Jan-02 21:56
EiSl7-Jan-02 21:56 
GeneralRe: Why using BOOL over bool (or not) Pin
Joaquín M López Muñoz7-Jan-02 22:18
Joaquín M López Muñoz7-Jan-02 22:18 
GeneralRe: Why using BOOL over bool (or not) Pin
Bernhard8-Jan-02 3:29
Bernhard8-Jan-02 3:29 
GeneralRe: Why using BOOL over bool (or not) Pin
Joaquín M López Muñoz8-Jan-02 3:52
Joaquín M López Muñoz8-Jan-02 3:52 
GeneralRe: Why using BOOL over bool (or not) Pin
Bernhard8-Jan-02 4:05
Bernhard8-Jan-02 4:05 
GeneralRe: Why using BOOL over bool (or not) Pin
Tim Smith8-Jan-02 4:25
Tim Smith8-Jan-02 4:25 
Using NULL or 0 is basically a style issue of religious proportions. After reading your message, I did a little research on NULL and 0. Here are some interesting facts.

1. NULL is usually defined as 0 or ((void *) 0). The later being an valid alternative to help prevent people from doing stupid stuff like assigning NULL to a non-pointer variable. This is in fact not at all portable.

2. When NULL and 0 are used in the context of pointers, they don't actually mean that the pointer is zero. The C and C++ standards state that the actual value stored in a pointer to represent NULL or 0 is machine depended and need not be zero. It is the compiler's job to make sure that comparisons against NULL or 0 perform the proper tests.

Tim Smith
Descartes Systems Sciences, Inc.
GeneralRe: Why using BOOL over bool (or not) Pin
Joaquín M López Muñoz8-Jan-02 5:08
Joaquín M López Muñoz8-Jan-02 5:08 
GeneralRe: Why using BOOL over bool (or not) Pin
Tim Smith8-Jan-02 6:22
Tim Smith8-Jan-02 6:22 
GeneralRe: Why using BOOL over bool (or not) Pin
Christian Graus7-Jan-02 23:08
protectorChristian Graus7-Jan-02 23:08 
GeneralRe: Why using BOOL over bool (or not) Pin
Christian Graus8-Jan-02 10:26
protectorChristian Graus8-Jan-02 10:26 
GeneralRe: Why using BOOL over bool (or not) Pin
Christian Graus8-Jan-02 12:36
protectorChristian Graus8-Jan-02 12:36 
Questionhow to enum all loaded modules ? Pin
7-Jan-02 21:16
suss7-Jan-02 21:16 
AnswerRe: how to enum all loaded modules ? Pin
Joaquín M López Muñoz7-Jan-02 22:42
Joaquín M López Muñoz7-Jan-02 22:42 
GeneralRe: how to enum all loaded modules ? Pin
7-Jan-02 23:36
suss7-Jan-02 23:36 
GeneralRe: how to enum all loaded modules ? Pin
Joaquín M López Muñoz8-Jan-02 2:12
Joaquín M López Muñoz8-Jan-02 2:12 
GeneralRe: how to enum all loaded modules ? Pin
8-Jan-02 2:17
suss8-Jan-02 2:17 
GeneralRe: how to enum all loaded modules ? Pin
moliate8-Jan-02 3:03
moliate8-Jan-02 3:03 
General*.icl files Pin
Paul Selormey7-Jan-02 19:29
Paul Selormey7-Jan-02 19:29 
GeneralRe: *.icl files Pin
Michael Dunn7-Jan-02 19:43
sitebuilderMichael Dunn7-Jan-02 19:43 
GeneralRe: *.icl files Pin
Paul Selormey7-Jan-02 20:23
Paul Selormey7-Jan-02 20:23 
GeneralRe: *.icl files Pin
Michael Dunn7-Jan-02 20:31
sitebuilderMichael Dunn7-Jan-02 20:31 
GeneralRe: *.icl files Pin
Davide Calabro7-Jan-02 20:50
Davide Calabro7-Jan-02 20:50 
GeneralRe: *.icl files Pin
Paul Selormey7-Jan-02 21:20
Paul Selormey7-Jan-02 21:20 

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.