Hai all,

I am new to Palm OS dev and to this group.

While I am trying to compile this code on Code warrior in shared lib, I am
getting 
errors.

The key words of C++ like class,public,..etc r not being identified.This
behaviour is same for each and every class. Does i need to set any c++
settings like force c++ compilation n all.

I included the code snippet and errors.

If any of you know the reason for these errors and how to get rid of 
these, please help me.

Thanks in advance.
Regards,
Saradhi.

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();
}; 

/////////////////ERRORS/////////////////////////////////////////
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   };


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to