ossentoo
April 13th, 1999, 11:59 AM
I've got a class SALogs which is essentially a collection class, with a few extras. The a collection interface (IComCollection) is inherited. There are some methods (Add(), Count() etc) which I would like to call on the IComCollection interface.
When I call these methods, i.e.
if((Count() == 0) && (m_bGUI) && (!m_bTimerIsSet))
StartGUI();
I get the error:
H:\C++\Development\Logs\SALogs.cpp(152) : error C2065: 'Count' : undeclared identifier
if((CComCollection::Count() == 0) && (m_bGUI) && (m_bTimerIsSet))
StartGUI();
but this yields the error:
why is this? I have also tried:
H:\C++\Development\Logs\SALogs.cpp(179) : error C2955: 'CComCollection' : use of class template requires template argument list
Why?
How should I call this inherited member?
--
Regards
When I call these methods, i.e.
if((Count() == 0) && (m_bGUI) && (!m_bTimerIsSet))
StartGUI();
I get the error:
H:\C++\Development\Logs\SALogs.cpp(152) : error C2065: 'Count' : undeclared identifier
if((CComCollection::Count() == 0) && (m_bGUI) && (m_bTimerIsSet))
StartGUI();
but this yields the error:
why is this? I have also tried:
H:\C++\Development\Logs\SALogs.cpp(179) : error C2955: 'CComCollection' : use of class template requires template argument list
Why?
How should I call this inherited member?
--
Regards