Click here to Skip to main content
15,920,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Win32, ATL, WTL or MFC, which route to take? Pin
loket6-Jul-02 2:55
loket6-Jul-02 2:55 
GeneralProcessing GPS data in C++ Pin
5-Jul-02 4:41
suss5-Jul-02 4:41 
Generaldisabled menu item at start Pin
ns5-Jul-02 3:36
ns5-Jul-02 3:36 
GeneralRe: disabled menu item at start Pin
Fredrik Skog5-Jul-02 3:55
Fredrik Skog5-Jul-02 3:55 
GeneralRe: disabled menu item at start Pin
ns5-Jul-02 4:02
ns5-Jul-02 4:02 
GeneralRe: disabled menu item at start Pin
Roger Allen5-Jul-02 4:08
Roger Allen5-Jul-02 4:08 
GeneralRe: disabled menu item at start Pin
Fredrik Skog5-Jul-02 4:12
Fredrik Skog5-Jul-02 4:12 
GeneralRe: disabled menu item at start Pin
Mike Upton5-Jul-02 4:54
Mike Upton5-Jul-02 4:54 
ns wrote:
I also see now that an uninitialized BOOL is TRUE by default.

No it's not. An uninitialised BOOL, or an uninitialised anything else, is undefined. An uninitialised variable will have an indeterminate value - you can't rely on it. I believe that in debug builds the compiler will assign special guard values (which are non-zero, and hence considered to be 'true') as soon as it allocates memory (i.e. before you initialise it), but that's only the case for debug builds and you should never rely on it anyway.



"We are the knights who say Ni" (The Knights Who Say Ni)
QuestionMDI doc sending info to modal dlg -how to? Pin
ns5-Jul-02 3:24
ns5-Jul-02 3:24 
AnswerRe: MDI doc sending info to modal dlg -how to? Pin
Mike Upton5-Jul-02 4:59
Mike Upton5-Jul-02 4:59 
GeneralRe: MDI doc sending info to modal dlg -how to? Pin
nsns5-Jul-02 16:24
nsns5-Jul-02 16:24 
GeneralI get the pass in constructor idea....thanks! Pin
nsns5-Jul-02 16:26
nsns5-Jul-02 16:26 
GeneralRe: I get the pass in constructor idea....thanks! Pin
Mike Upton7-Jul-02 22:28
Mike Upton7-Jul-02 22:28 
Generalproblem with CRectTracker Pin
sanskypotov5-Jul-02 3:11
sanskypotov5-Jul-02 3:11 
GeneralSearching for SIMPLE compress Routine Pin
Koep5-Jul-02 2:49
Koep5-Jul-02 2:49 
GeneralRe: Searching for SIMPLE compress Routine Pin
Martin Ziacek5-Jul-02 5:22
Martin Ziacek5-Jul-02 5:22 
GeneralRe: Searching for SIMPLE compress Routine Pin
Chris Losinger5-Jul-02 6:14
professionalChris Losinger5-Jul-02 6:14 
QuestionHow to find out if the program was started from a command line or not. Pin
Janine5-Jul-02 2:36
Janine5-Jul-02 2:36 
AnswerRe: How to find out if the program was started from a command line or not. Pin
adara5-Jul-02 2:58
adara5-Jul-02 2:58 
GeneralSetClipboardViewer Pin
5-Jul-02 2:22
suss5-Jul-02 2:22 
GeneralQuestions about MFC DLL with resources Pin
5-Jul-02 1:40
suss5-Jul-02 1:40 
GeneralSetWindowText works but disappears Pin
-Dy5-Jul-02 0:58
-Dy5-Jul-02 0:58 
GeneralRe: SetWindowText works but disappears Pin
Neville Franks5-Jul-02 23:10
Neville Franks5-Jul-02 23:10 
GeneralUnicode beat up my __argv stuff Pin
Jason Hooper4-Jul-02 23:20
Jason Hooper4-Jul-02 23:20 
GeneralRe: Unicode beat up my __argv stuff Pin
Prem Kumar5-Jul-02 0:21
Prem Kumar5-Jul-02 0:21 

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.