View Full Version : Annoyin error!
HydroQc
05-03-2008, 11:47 AM
Here is the error
error C2660: 'DetourFunction' : function does not take 3 parameters
I try to make an Detour for my hacks...But i got thi error!! Can someone help me plz??
SOLVED
Dxt-Cobra
05-03-2008, 12:02 PM
lol,you rlly wanna know???
lawl ,your gonna laugh at this one.
remove the ",6"
so it looks like this
pPBPerformCheck = ( PBPerformCheck_t )DetourFunction( ( BYTE * )( dwPbclBase + 0x55FC5 ), ( BYTE * )_PBPerformCheck);
HydroQc
05-03-2008, 12:06 PM
Thanks cobra! I didn't know it...But now i get this :
detours.lib(disasm.obj) : fatal error LNK1103: debugging information corrupt; recompile module
And i included it like this :
#include "detours.h"
#pragma comment(lib, "detours")
EDIT : I must say i downloade a new version of SDK (march 2008) is this causing the error?
PS: Is this a good detour code? Do i need a button to mkae it work??
Fragment
05-06-2008, 03:00 PM
Thanks cobra! I didn't know it...But now i get this :
detours.lib(disasm.obj) : fatal error LNK1103: debugging information corrupt; recompile module
And i included it like this :
#include "detours.h"
#pragma comment(lib, "detours")
EDIT : I must say i downloade a new version of SDK (march 2008) is this causing the error?
PS: Is this a good detour code? Do i need a button to mkae it work??
Ah. I used to get that shit all the time.
If you're using visual C++ 6.0, I just went into Project>>Settings then the LINK tab, and unchecked Generate debug info
HydroQc
05-06-2008, 03:24 PM
Well i didn't do the same thing you did...I went on Build > Configurations and then i changed the Win32 Debug to win32 release. Is this gonne affect somthing in my hack??
Fragment
05-07-2008, 02:04 PM
Well i didn't do the same thing you did...I went on Build > Configurations and then i changed the Win32 Debug to win32 release. Is this gonne affect somthing in my hack??
Not really. It will just make it so your hack instead of compiling, and going to DIRECTORY\Debug, it will be placed in DIRECTORY\Release
It won't have any effects on your hack though, at least I don't think so...
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.