from XMLFunctionHandler.cpp:

void messageid_EndHandler(const string&)
{
// m_MessageFormatObject.set
}

void messagesize_EndHandler(const string&){}
void messageheader_EndHandler(const string&){}

void receiver_EndHandler(const string&){}
void messagetype_EndHandler(const string&){}
void messagetext_EndHandler(const string&){}
void login_EndHandler(const string&){}
void password_EndHandler(const string&){}
void messagebody_EndHandler(const string&){}

void MSG_EndHandler(const string&){}

You need to put XMLFunctionHandler:: in front of these function definitions
to make them part of the class.  As it is, they are just globals.

Mark

-----Original Message-----
From: suresh [mailto:[EMAIL PROTECTED]]
Sent: 03 October 2001 12:23
To: [EMAIL PROTECTED]
Subject: Linker error


Hi All,

i have the following error while executing the code attached

XmlFunctionHandler.obj : error LNK2001: unresolved external symbol "public:
void __thiscall XmlFunctionHandler::messageheader_EndHandler(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?messageheade
r_EndHandler@XmlFunctionHandler@@QAEXABV?$basic_string@DU?$char_traits@D@std
@@V?$allocator@D@2@@std@@@Z)
XmlFunctionHandler.obj : error LNK2001: unresolved external symbol "public:
void __thiscall XmlFunctionHandler::messagebody_EndHandler(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?messagebody_En
dHandler@XmlFunctionHandler@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?
$allocator@D@2@@std@@@Z)
XmlFunctionHandler.obj : error LNK2001: unresolved external symbol "public:
void __thiscall XmlFunctionHandler::MSG_EndHandler(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (?MSG_EndHandler@XmlFunc
tionHandler@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@
std@@@Z)
Debug/XmlParser.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.

The environment is
Operating system : Win2k
Dev. Tool : VC++ 6.0 with SP5 with Xerces 1.5

I have attached the files for you to have a look at.

Has anyone faced this problem befor? Please help me out.

Thanks in advance,
Suresh




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to