Hi,<br>
<br>
I am trying to organize my dialog manager code by defining agents in multiple cpp files.<br>
<br>
This means that I would need multiple DECLARE_AGENTS for each of the cpp files that defines agents, right?<br>
<br>
Having multiple DECLARE_AGENTS does not seem to be legal.<br>
<br>
I am getting this error:<br>
RavenCalendarDM error LNK2005: "public: void __thiscall
CDTTManagerAgent::CreateDialogTaskAgentome(void)"
(?CreateDialogTaskAgentome@CDTTManagerAgent@@QAEXXZ) already defined in
RavenCalendarDialogTask.obj<br>
<br>
<br>
Could you please suggest if there is a way around this? (besides keeping all agents in a single cpp file)<br>
<br>
thank you<br>