![]() |
2010-06-02
, 12:36
|
Posts: 353 |
Thanked: 263 times |
Joined on Dec 2009
@ Finland
|
#2
|
The Following 2 Users Say Thank You to TNiga For This Useful Post: | ||
![]() |
2010-06-02
, 12:49
|
Posts: 415 |
Thanked: 732 times |
Joined on Jan 2009
@ Finland
|
#3
|
The Following User Says Thank You to timoph For This Useful Post: | ||
![]() |
2010-06-02
, 13:15
|
Posts: 289 |
Thanked: 101 times |
Joined on Oct 2009
|
#4
|
![]() |
2010-06-02
, 13:32
|
Posts: 13 |
Thanked: 5 times |
Joined on Oct 2009
|
#5
|
The Following User Says Thank You to skomialek For This Useful Post: | ||
![]() |
2010-06-02
, 13:34
|
Posts: 67 |
Thanked: 28 times |
Joined on Oct 2009
@ Switzerland
|
#6
|
![]() |
2010-06-02
, 13:36
|
Posts: 15 |
Thanked: 4 times |
Joined on Mar 2010
@ Germany
|
#7
|
The Following User Says Thank You to oberndorfer For This Useful Post: | ||
![]() |
2010-06-02
, 13:38
|
Posts: 15 |
Thanked: 4 times |
Joined on Mar 2010
@ Germany
|
#8
|
Your problem seems to be that you have a circular dependency: ListWindow contains a pointer to a HistoryWindow and vice versa. You have to add a forward declaration to listwindow.h and historywindow.h. (see here for details)
![]() |
2010-06-02
, 13:55
|
Posts: 289 |
Thanked: 101 times |
Joined on Oct 2009
|
#9
|
The Following User Says Thank You to Lullen For This Useful Post: | ||
![]() |
2010-06-02
, 19:40
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#10
|
struct list { int length; struct item *first; }; struct item { void *data; struct item *next; };
struct item;
The Following User Says Thank You to Joorin For This Useful Post: | ||
What I want to do is creating an instance of ListWindow in the HistoryWindow.
Yesterday there was no problem what so ever. If I remove the declaration of listwindow in historywindow.h I have the same problem with many other windows... Please help me!
History.h