PDA

View Full Version : SS Blocker



mojo007
04-21-2008, 05:08 PM
Hi i got some troube with SS blocker.

i added detours.cpp and detours.h

installed sdk,

and added apihook.h in project file

added Include in main.h

when i compile

i got this

error C2084: function 'void *__fastcall __fastcall _Detours_GetVA_GetWindowPlacement(void)' already has a body
function 'int __stdcall fGetWindowPlacement(struct HWND__ *,struct tagWINDOWPLACEMENT *)' already has a body
Fake_GetWindowPlacemt(struct HWND__ *,struct tagWINDOWPLACEMENT *)' already has a body
d:\warrockcoding\d3d_starterkit_v3_1_.0bown\d3d_st arterkit_v3.0b\d3d8\apihook.h(28) : error C2440: '=' : cannot convert from 'int (__stdcall *)(struct HWND__ *,struct tagWINDOWPLACEMENT *)' to 'int'

Vetle
04-22-2008, 12:57 AM
where do u get detours.cpp and detours.h fgt29

18hoursperday
04-22-2008, 01:27 AM
Dont ASK Him stupid questions
he wanted an answer.
newbie.

masterboy
04-23-2008, 07:15 AM
Come on msn mate i help you...

Vetle
04-24-2008, 02:58 PM
Dont ASK Him stupid questions
he wanted an answer.
newbie.

I want a answer too :spammer

Dxt-Cobra
04-24-2008, 03:05 PM
heres a folder with detours.h and .lib.you must link them in your directories like you did for your sdk.

mojo007
04-24-2008, 03:51 PM
d3d8int.obj : error LNK2005: "int __stdcall fGetWindowPlacement(struct HWND__ *,struct tagWINDOWPLACEMENT *)" (?fGetWindowPlacement@@YGHPAUHWND__@@PAUtagWINDOWP LACEMENT@@@Z) already defined in d3d8dev.obj
d3d8int.obj : error LNK2005: "int __stdcall Fake_GetWindowPlacemt(struct HWND__ *,struct tagWINDOWPLACEMENT *)" (?Fake_GetWindowPlacemt@@YGHPAUHWND__@@PAUtagWINDO WPLACEMENT@@@Z) already defined in d3d8dev.obj
d3d8tex.obj : error LNK2005: "int __stdcall fGetWindowPlacement(struct HWND__ *,struct tagWINDOWPLACEMENT *)" (?fGetWindowPlacement@@YGHPAUHWND__@@PAUtagWINDOWP LACEMENT@@@Z) already defined in d3d8dev.obj
d3d8tex.obj : error LNK2005: "int __stdcall Fake_GetWindowPlacemt(struct HWND__ *,struct tagWINDOWPLACEMENT *)" (?Fake_GetWindowPlacemt@@YGHPAUHWND__@@PAUtagWINDO WPLACEMENT@@@Z) already defined in d3d8dev.obj
d3d8.obj : error LNK2005: "int __stdcall fGetWindowPlacement(struct HWND__ *,struct tagWINDOWPLACEMENT *)" (?fGetWindowPlacement@@YGHPAUHWND__@@PAUtagWINDOWP LACEMENT@@@Z) already defined in d3d8dev.obj
d3d8.obj : error LNK2005: "int __stdcall Fake_GetWindowPlacemt(struct HWND__ *,struct tagWINDOWPLACEMENT *)" (?Fake_GetWindowPlacemt@@YGHPAUHWND__@@PAUtagWINDO WPLACEMENT@@@Z) already defined in d3d8dev.obj
main.obj : error LNK2005: "int __stdcall fGetWindowPlacement(struct HWND__ *,struct tagWINDOWPLACEMENT *)" (?fGetWindowPlacement@@YGHPAUHWND__@@PAUtagWINDOWP LACEMENT@@@Z) already defined in d3d8dev.obj
main.obj : error LNK2005: "int __stdcall Fake_GetWindowPlacemt(struct HWND__ *,struct tagWINDOWPLACEMENT *)" (?Fake_GetWindowPlacemt@@YGHPAUHWND__@@PAUtagWINDO WPLACEMENT@@@Z) already defined in d3d8dev.obj
Debug/TatniumD3D.dll : fatal error LNK1169: one or more multiply defined symbols found