1>------ Build started: Project: ndspubV1, Configuration: Release Win32 ------ 1> cMenu.cpp 1> cWinamp.cpp 1> d3dfont9.cpp 1>d3dfont9.obj : error LNK2005: "public: long __thiscall CD3DFont::DrawTextA(float,float,unsigned long,char const *,unsigned long)" (?DrawTextA@CD3DFont@@QAEJMMKPBDK@Z) already defined in D3D Base.obj 1>d3dfont9.obj : error LNK2005: "public: long __thiscall CD3DFont::GetTextExtent(char const *,struct tagSIZE *)" (?GetTextExtent@CD3DFont@@QAEJPBDPAUtagSIZE@@@Z) already defined in D3D Base.obj 1>d3dfont9.obj : error LNK2005: "public: long __thiscall CD3DFont::DeleteDeviceObjects(void)" (?DeleteDeviceObjects@CD3DFont@@QAEJXZ) already defined in D3D Base.obj 1>d3dfont9.obj : error LNK2005: "public: long __thiscall CD3DFont::InvalidateDeviceObjects(void)" (?InvalidateDeviceObjects@CD3DFont@@QAEJXZ) already defined in D3D Base.obj 1>d3dfont9.obj : error LNK2005: "public: long __thiscall CD3DFont::RestoreDeviceObjects(void)" (?RestoreDeviceObjects@CD3DFont@@QAEJXZ) already defined in D3D Base.obj 1>d3dfont9.obj : error LNK2005: "public: long __thiscall CD3DFont::InitDeviceObjects(struct IDirect3DDevice9 *)" (?InitDeviceObjects@CD3DFont@@QAEJPAUIDirect3DDevice9@@@Z) already defined in D3D Base.obj 1>d3dfont9.obj : error LNK2005: "public: __thiscall CD3DFont::~CD3DFont(void)" (??1CD3DFont@@QAE@XZ) already defined in D3D Base.obj 1>d3dfont9.obj : error LNK2005: "public: __thiscall CD3DFont::CD3DFont(char const *,unsigned long,unsigned long)" (??0CD3DFont@@QAE@PBDKK@Z) already defined in D3D Base.obj 1>C:\Documents and Settings\xraydoc\my documents\visual studio 2010\Projects\ndspubV1\Release\ndspubV1.dll : fatal error LNK1169: one or more multiply defined symbols found ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
. [IMG]http://i921.photobucke*****m/albums/ad56/xxxPROFINITYxxx/ndspubV1-MicrosoftVisualC2010Express_2010-08-13_03-54-09.png[/IMG]public static Boolean IsGameReadyForHook()
{
if (GetModuleHandle("d3d9.dll").ToInt32() != 0 && GetModuleHandle("ClientFX.fxd").ToInt32() != 0 && GetModuleHandle("CShell.dll").ToInt32() != 0)
{
return true;
}
else
{
return false;
}
}
if(GetModuleHandle("d3d9.dll") != NULL)
return true;
return false;