[RavenclawDev 166] defining agents in multiple files

Svetlana Stenchikova svetastenchikova at gmail.com
Thu Oct 26 09:12:32 EDT 2006


Hi,

I am trying to organize my dialog manager code by defining agents in
multiple cpp files.

This means that I would need multiple DECLARE_AGENTS for each of the cpp
files that defines agents, right?

Having multiple DECLARE_AGENTS does not seem to be legal.

I am getting this error:
RavenCalendarDM error LNK2005: "public: void __thiscall
CDTTManagerAgent::CreateDialogTaskAgentome(void)"
(?CreateDialogTaskAgentome at CDTTManagerAgent@@QAEXXZ) already defined in
RavenCalendarDialogTask.obj


Could you please suggest if there is a way around this? (besides keeping all
agents in a single cpp file)

thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.srv.cs.cmu.edu/pipermail/ravenclaw-developers/attachments/20061026/d8aa6006/attachment.html


More information about the Ravenclaw-developers mailing list