You redefined everything. Just use the /FORCE:MULTIPLE Option.
How do i fix this stuff
[IMG]https://i921.photobucke*****m/albums/ad56/xxxPROFINITYxxx/ndspubV1-MicrosoftVisualC2010Express_2010-08-12_14-30-12.png[/IMG]
Code: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 ==========
Last edited by yarulzwwe; 08-12-2010 at 06:55 AM.
You redefined everything. Just use the /FORCE:MULTIPLE Option.
howz?
d
o
i
force multiplwe option
well heres a full tut on how to fix this:
1. Learn to Code, and dont post a thread about every problem you have.
I can't i beleive i just did that, Thanked DeadLinez.. w/e
u can remove the thanks
ok i did that and i got it to build but when i inject into a d3d9 test enviorment it a window pops up saying it needs to be debuged and closes
now what? ppls?
Last edited by yarulzwwe; 08-12-2010 at 09:19 AM.
Best thing you can do is search and clean your source code.
And the test environments don't like the getmodulehandles and the PTC function because it does not understand it, so you better disable those while you test.
Originally Posted by flavjo
Sorry for my chooby question but where do i find the C++ Express in my PC???Originally Posted by Deco
i'll just punch him in the face nd steal his shoes *nigga style*
Well i got no ptc's or hook just the base and i cant get it to work on the test enviorment maybe i should use a diff injecter or maybe not . [IMG]https://i921.photobucke*****m/albums/ad56/xxxPROFINITYxxx/ndspubV1-MicrosoftVisualC2010Express_2010-08-13_03-54-09.png[/IMG]
Unhandled exception at 0x09054e38 in test9.exe: 0xC0000005: Access violation.i get this when i try to inject it to test9.exe
Last edited by yarulzwwe; 08-12-2010 at 08:21 PM.
Most bases have the
Sorry that was my C# base, the only one I have out right now. Anyway, make sure to return true if d3d9.dll handle != NULL the other modules do not exist in a test environment, otherwise the code will never work...Code: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; } }
Code:if(GetModuleHandle("d3d9.dll") != NULL) return true; return false;
Any donations would help
Originally Posted by Bombsaway707Originally Posted by BloodOriginally Posted by Alby-kunOriginally Posted by AliOriginally Posted by CodeDemon[21:13] CoderNever: HOLY SHIT ITS USER1!Yes it is me... Yup Yup
[IMG]https://i111.photobucke*****m/albums/n121/golmor/learntoprogram-1.png[/IMG]
where do i put if(GetModuleHandle("d3d9.dll") != NULL)
return true;
return false;
?
Any donations would help
Originally Posted by Bombsaway707Originally Posted by BloodOriginally Posted by Alby-kunOriginally Posted by AliOriginally Posted by CodeDemon[21:13] CoderNever: HOLY SHIT ITS USER1!Yes it is me... Yup Yup
[IMG]https://i111.photobucke*****m/albums/n121/golmor/learntoprogram-1.png[/IMG]
ill give credits dude