Hai Ben,
Thanx for the Reply.
I dropped the idea of using classes from a shared library and went for
static library.
So i created a Static library and just added the following 2 classes in it.
Still i am getting the errors for the derived class CStarter1.
Its not complaining if i removed this ":public CStarter1" from the code.
So it seems that when i am trying to derive a class from a base class it is
giving out this error.I am doing this in a "STATIC" library only.!!!!!.
I just included the starting code snippet of my lib and the errors i am
facing.
class CStarter
{
public:
CStarter();
~CStarter();
// Our one and only internal function
void StarterLibMain (void);
void AttachString (char* string);
void* ReturnString();
virtual void DummyMessage();
};
class CStarter1::public CStarter
{
CStarter1();
~CStarter1();
// void DummyMessage();
};
ror : undefined identifier 'CStarter1'
StarterLib.h line 30 class CStarter1::public CStarter
Error : declaration syntax error
StarterLib.h line 31 {
Error : declaration syntax error
StarterLib.h line 32 CStarter1();
Error : declaration syntax error
StarterLib.h line 33 ~CStarter1();
Error : declaration syntax error
StarterLib.h line 34 };
Regards
Saradhi
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/