Quote Originally Posted by Amleto View Post
in CStation.h do you forward dec. CRemote?
No. Do you mean I have to put:

class CRemote;

at the beginning of CStation.h? I just tried and got four error messages (please note that the wordings are not exact as I translated from Japanese into English):

E2450 undeclared (undefined?) structure 'CStation'
E2449 station_class's size is unknown or zero
E2450 undefined structure 'CStation'
E2315 since there is no type declaration, data_to_be_shared is not a member of CStation.