I have the same error (When i release)
I'm using whit combined base v2 and i've errors .. :
Thanks If You'll Help Me ..( I googled the error but i failed ..)Code:1>detours.obj : error LNK2001: unresolved external symbol _mlde32 1>C:\Documents and Settings\***\My Documents\Visual Studio 2008\Projects\Project1\Combined Base v2\CaBase\Release\CaBase.dll : fatal error LNK1120: 1 unresolved externals
Last edited by o-o; 11-20-2010 at 01:25 AM.
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
I have the same error (When i release)
Lol you've another error i saw your error ..
That's your error :
i've another one ..Code:DirectX.obj : error LNK2019: unresolved external symbol "void * __cdecl DetourCreate(unsigned char *,unsigned char const *,int)" (?DetourCreate@@YAPAXPAEPBEH@Z) referenced in function "public: void __thiscall cDirectx::Hook(void)" (?Hook@cDirectx@@QAEXXZ) 1>C:\Documents and Settings\***\My Documents\Visual Studio 2008\Projects\Project1\Combined Base v2\CaBase\Release\CaBase.dll : fatal error LNK1120: 1 unresolved externals
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
Sorry for double but this is my Detours.h :
And My Error is in the first post .. Help PLEASE !(if you need the .cpp file say i'll give you)Code:#ifndef _DETOURS_H #define _DETOURS_H extern "C" int __cdecl mlde32(void *codeptr); int DetourLen(BYTE *src, int minlen); void *DetourCreate(BYTE *src, const BYTE *dst, const int minlen=0); void DetourRemove(BYTE *src, BYTE *restore, const int len=0); #endif
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
Give us the Cpp .
Thanks Cosmos
Sure .. .cpp file :
Code:#define WIN32_LEAN_AND_MEAN #include <windows.h> #include <stdlib.h> #include "detours.h" int DetourASMlen(BYTE *src, int minlen) // find out asm instruction length { int i,len; for (len=0; len<minlen; len+=i) { i=mlde32((void *)src); if (i<=0) return 0; src+=i; } return len; } void *DetourCreate(BYTE *src, const BYTE *dst, int minlen) { BYTE *jmp, *org; DWORD dwBack; int len; len=DetourASMlen(src,(minlen<6)?6:minlen); if (len==0 && minlen>=6) len=minlen; if (len==0) return 0; org=jmp = (BYTE*)malloc(len+5+1); // room for nobytes + jmplen + size byte jmp[0]=len; // save length in first byte jmp++; VirtualProtect(src, len, PAGE_EXECUTE_READWRITE, &dwBack); memcpy(jmp, src, len); jmp += len; jmp[0] = 0xE9; *(DWORD*)(jmp+1) = (DWORD)(src+len - jmp) - 5; src[0] = 0x68; // different hook, push address ret *(DWORD*)(src+1) = (DWORD)(dst); src[5] = 0xc3; for (int i=6; i<len; i++) src[i] = 0x90; VirtualProtect(src, len, dwBack, &dwBack); return &org[1]; // return entry point, byte 0 = length } // restore == return value of DetourCreate void DetourRemove(BYTE *src, BYTE *restore, int len) { DWORD dwBack; len=*(BYTE *)(restore-1); // ignore len parameter, only for backward competability VirtualProtect(src, len, PAGE_EXECUTE_READWRITE, &dwBack); memcpy(src, restore, len); restore[0] = 0xE9; *(DWORD*)(restore+1) = (DWORD)(src - restore) - 5; VirtualProtect(src, len, dwBack, &dwBack); }
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
No wrong things. I just downloaded V2 and debugged. I got no error. Have you found anything in red means mistake ?
THe problem is in detours.h look at ur error.
Thanks Cosmos
Lol so what's my problem ?
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...
I thought you can code.
Coders must read her codes. And then they know the problem. Look thru your Files and look for any errors definition or forget ; Or to many }
Tip:
An "unresolved external symbol" is an identifier that the translator
could not find. In many instances, a source file was not specified
or a library not included.
Examine the requirements of your header files and verify that
you have specified all necessary source and libraries to your
translator (compiler).
All in all is that u got a definition error.
Look thru detours.cpp and watch for definitions errors including mlde32
Last edited by Sydney; 11-20-2010 at 02:38 AM.
Thanks Cosmos
Oh man it works ! i think it was because i used C++ 08 and 2008 isn't added the mlde32.obj ..Finnaly Works !
Close Req !
[IMG]https://i423.photobucke*****m/albums/pp312/LizMLsinatra/hh-1.png[/IMG]
Happy Hanukkah For All Of MPGH !
∞
The Real Life Are Better Then A Game !
Song :[YOUTUBE]vgKBOkvO5N0&feature=player_embedded[/YOUTUBE]Best Friends :
Hax4Life!
Solify
[MPGH]Drake`
Respect Them Or I'll Kill You ...