You don't have your includes set right.
https://www.mpgh.net/forum/207-combat...lins-base.html
IM GETTING THIS ERROR EVERYTIME I TRY TO BUILD IT PLZ HELP ME
1>Main.obj : error LNK2019: unresolved external symbol _D3DXCreateFontA@48 referenced in function __catch$?Render@cmain@@QAEXPAUIDirect3DDevice9@@@Z$0
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
You don't have your includes set right.
https://www.mpgh.net/forum/207-combat...lins-base.html
fix now i got something else
1>MSVCRT.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
Last edited by yoyoman4567; 09-30-2011 at 03:43 PM.
Pebkac....
Check the lib imports as well, if you actually read the compiler message, it says what is wrong.
edit:
Try changing project to a multi-byte mode under project settings and general as well as a DLL file and not console.
Last edited by mountainjew; 09-30-2011 at 03:53 PM. Reason: adjusting to what user edited his message to.
You're trying to compile a window app not a hack
No I do not make game hacks anymore, please stop asking.
TrollMan (10-02-2011)
my new problem is
1>Menu.obj : error LNK2019: unresolved external symbol __imp__GetAsyncKeyState@4 referenced in function "public: bool __thiscall cMenu::MouseClick(int,int,int,int,int,int)" (?MouseClick@cMenu@@QAE_NHHHHHH@Z)
1>Menu.obj : error LNK2019: unresolved external symbol __imp__GetCursorPos@4 referenced in function "public: bool __thiscall cMenu::MouseClick(int,int,int,int,int,int)" (?MouseClick@cMenu@@QAE_NHHHHHH@Z)
If you don't have the Windows SDK, or if its really outdated, update it and the directX SDK. What base are you using?
im using this base
https://www.mpgh.net/forum/207-combat...menu-base.html
1>Menu.obj : error LNK2019: unresolved external symbol __imp__GetAsyncKeyState@4 referenced in function "public: bool __thiscall cMenu::MouseClick(int,int,int,int,int,int)" (?MouseClick@cMenu@@QAE_NHHHHHH@Z)
1>Menu.obj : error LNK2019: unresolved external symbol __imp__GetCursorPos@4 referenced in function "public: bool __thiscall cMenu::MouseClick(int,int,int,int,int,int)" (?MouseClick@cMenu@@QAE_NHHHHHH@Z)
thats my new error
Last edited by yoyoman4567; 10-02-2011 at 03:13 PM.
Lol make a hotkey hack
|^^^^^^^^^^\||____
|The[MPGH]Truck |||'""|""\__,_
| _____ 4ever __ l||__|__|___|)
|(@)@)"""""""**|(@)(@)**|(@)
ok sure i will do that sure whatever this is why i dont ask for help because you never get it on here
Check back here in about an hour and I should have a video showing you step by step to compile this hack. You will have to update the detour and addresses automatically.
Here ya go:
Last edited by mountainjew; 10-02-2011 at 07:02 PM.
yoyoman4567 (10-02-2011)