I have been compiling and recompiling Hans Base And finally got it to stop crashing CA. It is still detected but I was going to work that out. Until Randomly this bullshit happens.
Code:
1>------ Build started: Project: Hans Base, Configuration: Debug Win32 ------
1> d3dbase.cpp
1> d3dbase.h : Building for D3D9
1> Generating Code...
1> Compiling...
1> hackbase.cpp
1> d3dbase.h : Building for D3D9
1> d3dmenu.cpp
1> d3dbase.h : Building for D3D9
1> Generating Code...
1>hackbase.obj : error LNK2005: "public: __thiscall CD3DFont::CD3DFont(char const *,unsigned long,unsigned long)" (??0CD3DFont@@QAE@PBDKK@Z) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "public: __thiscall CD3DFont::~CD3DFont(void)" (??1CD3DFont@@QAE@XZ) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "public: long __thiscall CD3DFont::InitDeviceObjects(struct IDirect3DDevice9 *)" (?InitDeviceObjects@CD3DFont@@QAEJPAUIDirect3DDevice9@@@Z) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "public: long __thiscall CD3DFont::RestoreDeviceObjects(void)" (?RestoreDeviceObjects@CD3DFont@@QAEJXZ) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "public: long __thiscall CD3DFont::InvalidateDeviceObjects(void)" (?InvalidateDeviceObjects@CD3DFont@@QAEJXZ) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "public: long __thiscall CD3DFont::DeleteDeviceObjects(void)" (?DeleteDeviceObjects@CD3DFont@@QAEJXZ) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "public: long __thiscall CD3DFont::GetTextExtent(char const *,struct tagSIZE *)" (?GetTextExtent@CD3DFont@@QAEJPBDPAUtagSIZE@@@Z) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "public: long __thiscall CD3DFont::DrawTextA(float,float,unsigned long,char const *,unsigned long)" (?DrawTextA@CD3DFont@@QAEJMMKPBDK@Z) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "void __cdecl PreReset(struct IDirect3DDevice9 *)" (?PreReset@@YAXPAUIDirect3DDevice9@@@Z) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "void __cdecl PostReset(struct IDirect3DDevice9 *)" (?PostReset@@YAXPAUIDirect3DDevice9@@@Z) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "long __stdcall myReset(struct IDirect3DDevice9 *,struct _D3DPRESENT_PARAMETERS_ *)" (?myReset@@YGJPAUIDirect3DDevice9@@PAU_D3DPRESENT_PARAMETERS_@@@Z) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "long __stdcall myEndScene(struct IDirect3DDevice9 *)" (?myEndScene@@YGJPAUIDirect3DDevice9@@@Z) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "void __cdecl DrawBox(struct IDirect3DDevice9 *,int,int,int,int,unsigned long)" (?DrawBox@@YAXPAUIDirect3DDevice9@@HHHHK@Z) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "bool __cdecl bCompare(unsigned char const *,unsigned char const *,char const *)" (?bCompare@@YA_NPBE0PBD@Z) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "unsigned long __cdecl FindPattern(unsigned long,unsigned long,unsigned char *,char *)" (?FindPattern@@YAKKKPAEPAD@Z) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "void * __cdecl DetourCreate(unsigned char *,unsigned char const *,int)" (?DetourCreate@@YAPAXPAEPBEH@Z) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "int __cdecl D3Dinit(void)" (?D3Dinit@@YAHXZ) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: _DllMain@12 already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "long (__stdcall* pReset)(struct IDirect3DDevice9 *,struct _D3DPRESENT_PARAMETERS_ *)" (?pReset@@3P6GJPAUIDirect3DDevice9@@PAU_D3DPRESENT_PARAMETERS_@@@ZA) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "long (__stdcall* pEndScene)(struct IDirect3DDevice9 *)" (?pEndScene@@3P6GJPAUIDirect3DDevice9@@@ZA) already defined in d3dbase.obj
1>hackbase.obj : error LNK2005: "class CD3DFont * pFont" (?pFont@@3PAVCD3DFont@@A) already defined in d3dbase.obj
1>c:\users\family\documents\visual studio 2010\Projects\Hans Base\Debug\Hans Base.dll : fatal error LNK1169: one or more multiply defined symbols found
What went wrong? d3dbase.obj is really frustrating me.
Im really mad right now and Im asking for some help.
Thank You.