Download the DirectX9 June SDK and include the Include and Lib directories into your hack's properties
I have been messing around with a few C++ books and websites to learn the language so ive caught onto the basics so i went ahead and attempted to make a hack for CA i am using gellins base for a d3d menu i updated the ptc method and changed the look of the menu a bit my problem is an error which is telling me it can not include d3dx9.h so i think that the uploader of the gellins base didn't upload that file what i would like to know is how do i fix it how do i code in my own d3dx9.h file if i have to can someone help me please
Error Code
Code:1>------ Build started: Project: Hacks, Configuration: Debug Win32 ------ 1> MenuFormat.cpp 1> Base.h : Building for D3D9 1>c:\users\daniel\documents\visual studio 2012\projects\hacks\hacks\base.h(16): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory 1> Base.cpp 1> Base.h : Building for D3D9 1>c:\users\daniel\documents\visual studio 2012\projects\hacks\hacks\base.h(16): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory 1> Generating Code... ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Help plz thanks
Download the DirectX9 June SDK and include the Include and Lib directories into your hack's properties
I Read All Of My PM's & VM'sIf you need help with anything, just let me know.
Staff Administrator Since 10.13.2019
Publicist Since 04.04.2015
Middleman Since 04.14.2014
Global Moderator Since 08.01.2013
Premium Since 05.29.2013
Minion+ Since 04.18.2013
Combat Arms Minion Since 12.26.2012
Contributor Since 11.16.2012
Member Since 05.11.2010
See this topic BACKD00R
https://www.mpgh.net/forum/409-combat...n-include.html
set your LIB ind Include directories
Thanks that helped lots lol but now i get a new error and im not sure if its a problem with directory's like the old error and before i go messing around with anything ill just post here before i break something ^.^ thanks for the help though on that last error!
Not sure if this helps but within my Base.h i have this
could this be the problem ?Code:#include "detours.h" #pragma comment (lib, "detours.lib")
Code:1>------ Build started: Project: Hacks, Configuration: Release Win32 ------ 1> Base.cpp 1> Base.h : Building for D3D9 1>Base.cpp(208): warning C4551: function call missing argument list 1>Base.cpp(218): warning C4551: function call missing argument list 1> MenuFormat.cpp 1> Base.h : Building for D3D9 1>LINK : fatal error LNK1104: cannot open file 'detours.lib' ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Last edited by hfe636; 11-01-2012 at 09:17 PM.
I Read All Of My PM's & VM'sIf you need help with anything, just let me know.
Staff Administrator Since 10.13.2019
Publicist Since 04.04.2015
Middleman Since 04.14.2014
Global Moderator Since 08.01.2013
Premium Since 05.29.2013
Minion+ Since 04.18.2013
Combat Arms Minion Since 12.26.2012
Contributor Since 11.16.2012
Member Since 05.11.2010
Thank you sir that helped lots worked fine got rid of that error and fixed some other issues i had within the menu being visible and such and wells along came something else that i have no idea what to do about it LOL so if you or anyone else that knows how to fix please take the time and post i appreciate all the help thank you <3
Code:1>------ Build started: Project: Hacks, Configuration: Release Win32 ------ 1> Base.cpp 1> Base.h : Building for D3D9 1>Base.cpp(206): warning C4551: function call missing argument list 1>Base.cpp(216): warning C4551: function call missing argument list 1> Generating code 1> Finished generating code 1>detours.lib(detours.obj) : error LNK2026: module unsafe for SAFESEH image. 1>detours.lib(disasm.obj) : error LNK2026: module unsafe for SAFESEH image. 1>C:\Users\Daniel\documents\visual studio 2012\Projects\Hacks\Release\Hacks.dll : fatal error LNK1281: Unable to generate SAFESEH image. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
im guessing something in the detour.lib is fked up? and do i even need the detours or can i get rid of it and no i didnt code the detour.h nor the detour.lib i think it was gellin so credits to him.
Last edited by hfe636; 11-01-2012 at 09:59 PM.
looks like it built fine.
so i doubt its the Detours file
warnings are fine, errors need fixed
MSDN will be your best friend no one is willing to help
Linker Tools Error LNK1281 (C++)