Click here to Skip to main content
15,915,019 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Oracle 8i ODBC driver Pin
Charlie Curtis1-Nov-06 14:09
Charlie Curtis1-Nov-06 14:09 
GeneralRe: Oracle 8i ODBC driver Pin
Mark Salsbery1-Nov-06 14:30
Mark Salsbery1-Nov-06 14:30 
GeneralRe: Oracle 8i ODBC driver Pin
Charlie Curtis1-Nov-06 14:49
Charlie Curtis1-Nov-06 14:49 
GeneralRe: Oracle 8i ODBC driver Pin
Mark Salsbery1-Nov-06 15:03
Mark Salsbery1-Nov-06 15:03 
GeneralRe: Oracle 8i ODBC driver Pin
Charlie Curtis1-Nov-06 15:11
Charlie Curtis1-Nov-06 15:11 
GeneralRe: Oracle 8i ODBC driver Pin
Onn Khairuddin Ismail1-Nov-06 16:08
Onn Khairuddin Ismail1-Nov-06 16:08 
GeneralRe: Oracle 8i ODBC driver [modified] Pin
Charlie Curtis1-Nov-06 19:07
Charlie Curtis1-Nov-06 19:07 
QuestionClass x needs defining before class y, circular dependecy Pin
Ylis1-Nov-06 11:04
Ylis1-Nov-06 11:04 
Okay, I'l try my best to describe the problem at hand. This is what the relations looks like:
CQuad :
	implements CNodeInterface

CNodeInterface :
	knows of CScene

CScene:
	knows of CQuad
	knows of CNodeInterface

I have some nasty circular dependency here, I know, but I can't seem to design it away. Anyway, the problem is that CNodeInterface needs to be defined before CQuad gets defined, however no matter how I tinker I can't seem to get this to happen. With forward declarations I still get errors in CQuad that CNodeInterface is undefined. Part of the problem is that I don't even know what decides which gets defined first when there's circular dependency. I'm using Visual Studio 2005.

Any help appreciated.
AnswerRe: Class x needs defining before class y, circular dependecy Pin
Waldermort1-Nov-06 11:17
Waldermort1-Nov-06 11:17 
GeneralRe: Class x needs defining before class y, circular dependecy Pin
Ylis1-Nov-06 11:42
Ylis1-Nov-06 11:42 
AnswerRe: Class x needs defining before class y, circular dependecy Pin
Zac Howland1-Nov-06 11:36
Zac Howland1-Nov-06 11:36 
GeneralRe: Class x needs defining before class y, circular dependecy Pin
Ylis1-Nov-06 11:46
Ylis1-Nov-06 11:46 
AnswerRe: Class x needs defining before class y, circular dependecy Pin
led mike1-Nov-06 11:54
led mike1-Nov-06 11:54 
GeneralRe: Class x needs defining before class y, circular dependecy Pin
Ylis1-Nov-06 12:12
Ylis1-Nov-06 12:12 
GeneralRe: Class x needs defining before class y, circular dependecy Pin
Waldermort1-Nov-06 13:54
Waldermort1-Nov-06 13:54 
GeneralRe: Class x needs defining before class y, circular dependecy Pin
led mike2-Nov-06 4:58
led mike2-Nov-06 4:58 
QuestionWindow messages [modified] Pin
Waldermort1-Nov-06 9:58
Waldermort1-Nov-06 9:58 
AnswerRe: Window messages Pin
PJ Arends1-Nov-06 19:22
professionalPJ Arends1-Nov-06 19:22 
AnswerRe: Window messages Pin
Michael Dunn1-Nov-06 20:09
sitebuilderMichael Dunn1-Nov-06 20:09 
Questionall Slider objects are sending OnHScroll() msg Pin
aquawicket1-Nov-06 9:46
aquawicket1-Nov-06 9:46 
AnswerRe: all Slider objects are sending OnHScroll() msg Pin
Mark Salsbery1-Nov-06 10:03
Mark Salsbery1-Nov-06 10:03 
GeneralRe: all Slider objects are sending OnHScroll() msg Pin
aquawicket1-Nov-06 14:49
aquawicket1-Nov-06 14:49 
QuestionMFC - creating invisible window Pin
edvintas1-Nov-06 6:58
edvintas1-Nov-06 6:58 
AnswerRe: MFC - creating invisible window Pin
led mike1-Nov-06 6:59
led mike1-Nov-06 6:59 
GeneralRe: MFC - creating invisible window Pin
edvintas1-Nov-06 7:53
edvintas1-Nov-06 7:53 

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.