About DNA system

12/07/2012 09:30 raventh1984#1
Hi all,
I'am having troubles to compile the source with the DNA system.
Its in the databaseServer.
The error i am recieving is
ProjectCmn.cpp(1231): error C2039: 'LoadMonsterDNA' : is not a member of 'CProject'

And
ProjectCmn.cpp(1279): error C2039: 'm_aMonsterDNA' : is not a member of 'CProject' project.h(74) : see declaration of 'CProject'

And the last one
ProjectCmn.cpp(1279): error C2228: left of '.SetAtGrow' must have class/struct/union type.

Can anyone tel me where to look and or what else i need to add.
Thank you verry much
12/07/2012 10:07 Pumaaa#2
You should check wether you have the necessary code pieces in your project.h

The definition for m_aMonsterDNA and the Function LoadMonsterDNA seem to be missing.
12/07/2012 10:36 raventh1984#3
This is what i have in Project.h

#ifdef __MONSTER_WEAPON
CFixedArray< MonsterDNA > m_aMonsterDNA;
BOOL LoadMonsterDNA( LPCTSTR lpszFileName );
#endif

EDIT:
Hmm strange.
I have 2 times Project.cpp and Project.h
I did the above code in the _Common folder.
Its not working but when i add it to Project.h in the database folder it is working.
So i need to modify also the Project.cpp in the database server.
Am i correct?
12/07/2012 10:39 Pumaaa#4
Is __MONSTER_WEAPON defined in VersionCommon.h?
12/07/2012 23:02 Jopsi332#5
you must define __DATABASESERVER in verisoncommon from databaseserver