magicstar
October 15th, 2003, 04:27 AM
Hi all
I have created my class and in the constructor, i need to create a new node.This is the code within the constructor:
{
Document* m_globalNode;
m_globalNode = new Document();
Element * tmp;
tmp =m_globalNode->createElement((DOMString) "ROOT");
}
However, when i compile i get the following error:
Unsatisfied symbol "Document::Document()"
I think there is a problem of missing library.Can someone please help??
Thks
magicstar
I have created my class and in the constructor, i need to create a new node.This is the code within the constructor:
{
Document* m_globalNode;
m_globalNode = new Document();
Element * tmp;
tmp =m_globalNode->createElement((DOMString) "ROOT");
}
However, when i compile i get the following error:
Unsatisfied symbol "Document::Document()"
I think there is a problem of missing library.Can someone please help??
Thks
magicstar