In VC++ 6.0,
I have been created a DLL in Regular DLL using shared MFC DLL.
I would like to create some new class that base class is CObject.
But when I compiled the DLL, errors was occured as follows.

class CMyApp : public CWinApp
{
public:
CMyApp();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGroveDLLApp)
//}}AFX_VIRTUAL

//{{AFX_MSG(CGroveDLLApp)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};


class CMyObject : public CObject
{
public:
CMyObject();
CMyObject(Node node);

// Attributes
public:
Node* MyNode;
.....
.....
};



Error was occurred in CMyObject(Node node);.
Error message was "error C2629: unexpected 'class CMyObject ('".

How can I create a new class that base class is CObject?

Help me!