B
Bruno van Dooren
Hi all,
i have developed a class that has a member called 'PostMessage'
if i only reference this member from within the class context, there is no
problem, but if i trie to execute it as a method, i get the error
error LNK2019: unresolved external symbol "public: void __thiscall
MessageQ:ostMessageA(struct t_Message *)"
(?PostMessageA@MessageQ@@QAEXPAUt_Message@@@Z) referenced in function
"public: void __thiscall Dispatcher::SendMessageA(struct t_Message *)"
(?SendMessageA@Dispatcher@@QAEXPAUt_Message@@@Z)
The offending code is:
msgQ->PostMessage(Message);
where msgQ is an instance of my own class MessageQ, and the method exists
with the correct prototype.
can anybody please tell me how to solve this problem?
thanks,
Bruno.
i have developed a class that has a member called 'PostMessage'
if i only reference this member from within the class context, there is no
problem, but if i trie to execute it as a method, i get the error
error LNK2019: unresolved external symbol "public: void __thiscall
MessageQ:ostMessageA(struct t_Message *)"
(?PostMessageA@MessageQ@@QAEXPAUt_Message@@@Z) referenced in function
"public: void __thiscall Dispatcher::SendMessageA(struct t_Message *)"
(?SendMessageA@Dispatcher@@QAEXPAUt_Message@@@Z)
The offending code is:
msgQ->PostMessage(Message);
where msgQ is an instance of my own class MessageQ, and the method exists
with the correct prototype.
can anybody please tell me how to solve this problem?
thanks,
Bruno.