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

C / C++ / MFC

 
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 
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 
I agree with you in that this is a very tiny issue that receives a disproportionate amount of interest. With respect to your fact #1, there's an interesting associated problem: the following line of code
char *p=(void*)0;
is legal C, but illegal in C++, as this latter language forbids implicit casting from void* to any other pointer type, due to type safety reasons. So even this seemingly innocent definition for NULL has unexpected side effects.
This surprising fact and a lot more info about the null pointer you can find it on Stroustrup's The Design and Evolution of C++, §11.2.3.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
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 
GeneralTextout Pin
AnonymousBabe@usa.net7-Jan-02 18:14
AnonymousBabe@usa.net7-Jan-02 18:14 

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.