Hello everyone!!!
I'd need a little hint on this little question:
I have a xml file I want to navigate and I have a library to process
it. But I want also to manage that file as an object to make clear and
efficient code.
So I coded two class which one is like recursive as like as in this
example:
class B : public xmlnode
{
public:
B(xmlnode* member);
LPCSTR getattribute(....);
void setattribute(....);
xmlnode* Node(LPCSTR nodename, LPCSTR attributenodename, LPCSTR
attributetosearch);
};
class A : public xmldocument
{
public:
A(LPCSTR xmlfilename);
xmlnode* Node(LPCSTR nodename, LPCSTR attributenodename,
LPCSTR attributetosearch);
};
So I can do this:
A* xmlobject = new A(filenamexmlblahblah);
xmlobject->Node(....,....,...)->Node(...,...,...)->GetAttribute(...);
where next nodes are nodes inside a parent node...but I get this link
error:
error LNK2019: unresolved external symbol "public: class B *
__thiscall B::Node(....)" ....
what I could have missed?...
Even I'm just using a function that returns class node itself....
Thanks to everyone!
Ciao
Luigi

