M
Morten Aune Lyrstad
Hi again!
I'm having problems with inheritance. I have a base interface class
called IObject. Next I have two other interfaces classes, IControl and
ICommandMaster, which derives from IObject.
My problem is that I have a /third/ class, CCommand, which derives from
both IControl and ICommandmaster...
The error message says (Weird.....)
ambiguous access of 'Release' in 'Win32::Controls::CCommand'
could be the 'Release' in base 'CS::IObject::Release'
or the 'Release' in base 'CS::IObject::Release'
Is there a way to solve this ambiguety, or am I lost?
The ICommandMaster is an interface which is used in menus, command
buttons, toolbars and any other that might send a command.
I'm having problems with inheritance. I have a base interface class
called IObject. Next I have two other interfaces classes, IControl and
ICommandMaster, which derives from IObject.
My problem is that I have a /third/ class, CCommand, which derives from
both IControl and ICommandmaster...
The error message says (Weird.....)
ambiguous access of 'Release' in 'Win32::Controls::CCommand'
could be the 'Release' in base 'CS::IObject::Release'
or the 'Release' in base 'CS::IObject::Release'
Is there a way to solve this ambiguety, or am I lost?
The ICommandMaster is an interface which is used in menus, command
buttons, toolbars and any other that might send a command.