Click here to Skip to main content
15,794,629 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: MFC dialog member sharing? (code included) Pin
BlackDice4-Mar-04 7:07
BlackDice4-Mar-04 7:07 
GeneralRe: MFC dialog member sharing? (code included) Pin
Christophocles4-Mar-04 8:06
sussChristophocles4-Mar-04 8:06 
GeneralRe: MFC dialog member sharing? (code included) Pin
BlackDice4-Mar-04 9:23
BlackDice4-Mar-04 9:23 
GeneralRe: MFC dialog member sharing? (code included) Pin
Christophocles4-Mar-04 10:14
sussChristophocles4-Mar-04 10:14 
GeneralRe: MFC dialog member sharing? (code included) Pin
BlackDice4-Mar-04 10:30
BlackDice4-Mar-04 10:30 
GeneralRe: MFC dialog member sharing? (code included) Pin
Christophocles4-Mar-04 11:27
sussChristophocles4-Mar-04 11:27 
GeneralRe: MFC dialog member sharing? (code included) Pin
BlackDice5-Mar-04 4:49
BlackDice5-Mar-04 4:49 
GeneralRe: MFC dialog member sharing? (or, My Marathon Ineptitude) Pin
Christophocles5-Mar-04 5:41
sussChristophocles5-Mar-04 5:41 
*sigh*

I added the include, and it still compiles okay, but the program crashes and the debug directs me to an "ASSERT(::IsWindow(m_hWnd))" expression deep in MFC.

Is it okay to have "circular" #includes? As per your suggestion, I am including Dlg1.h in Dlg2.cpp, but the fact that I'm embedding Dlg2 into Dlg1 requires me to include Dlg2.h in Dlg1.h.

Unsure | :~
Tell me when your sick of this thread & I'll quit bugging you. Thanks tho.

Chris
GeneralRe: MFC dialog member sharing? (or My Enduring Ineptitude) Pin
Christophocles5-Mar-04 7:25
sussChristophocles5-Mar-04 7:25 
GeneralRe: MFC dialog member sharing? (or My Enduring Ineptitude) Pin
BlackDice5-Mar-04 11:43
BlackDice5-Mar-04 11:43 
GeneralRe: MFC dialog member sharing? Pin
Christophocles5-Mar-04 13:01
sussChristophocles5-Mar-04 13:01 
GeneralRe: MFC dialog member sharing? Pin
Christophocles8-Mar-04 9:01
sussChristophocles8-Mar-04 9:01 
GeneralAdvice required.... Pin
slyone3-Mar-04 11:54
slyone3-Mar-04 11:54 
GeneralRe: Advice required.... Pin
Roger Allen4-Mar-04 7:55
Roger Allen4-Mar-04 7:55 
GeneralRe: Advice required.... Pin
slyone4-Mar-04 13:02
slyone4-Mar-04 13:02 
GeneralUNWANTED DEBUG OF LIBRARY FUNCTIONS Pin
cnd120013-Mar-04 11:36
cnd120013-Mar-04 11:36 
GeneralRe: UNWANTED DEBUG OF LIBRARY FUNCTIONS Pin
Rick York3-Mar-04 12:09
mveRick York3-Mar-04 12:09 
GeneralRe: UNWANTED DEBUG OF LIBRARY FUNCTIONS Pin
Tom Larsen3-Mar-04 12:23
Tom Larsen3-Mar-04 12:23 
GeneralRe: UNWANTED DEBUG OF LIBRARY FUNCTIONS Pin
cnd120013-Mar-04 12:58
cnd120013-Mar-04 12:58 
GeneralRe: UNWANTED DEBUG OF LIBRARY FUNCTIONS Pin
Christian Graus3-Mar-04 17:47
protectorChristian Graus3-Mar-04 17:47 
GeneralRe: UNWANTED DEBUG OF LIBRARY FUNCTIONS Pin
Tom Larsen4-Mar-04 6:04
Tom Larsen4-Mar-04 6:04 
GeneralRe: UNWANTED DEBUG OF LIBRARY FUNCTIONS Pin
Jonas Larsson4-Mar-04 5:45
Jonas Larsson4-Mar-04 5:45 
GeneralAnti-Spam Project Pin
tempgp3-Mar-04 11:35
tempgp3-Mar-04 11:35 
GeneralRe: Anti-Spam Project Pin
Prakash Nadar3-Mar-04 14:31
Prakash Nadar3-Mar-04 14:31 
GeneralRe: Anti-Spam Project Pin
tempgp3-Mar-04 14:37
tempgp3-Mar-04 14:37 

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.