Something wrong there.
im trying to compile my hotkey hack and i keep getting this error does anyone know what i need to do to fix it
error C2447: '{' : missing function header (old-style formal list?)
thats the error and this is the code that it is refrencing
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)&main, NULL, 0,NULL);
break;
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
plz help me
If you need a Lo/Ck/Er/Z invite, PM me! Lo/Ck/Er/Z is a promotion site to watch videos for PTZ, and redeem cool electronics for free by trading in PTZ
Something wrong there.
rocker340 (06-18-2010)
Please tell me there is a line above the first { with text in it.
rocker340 (06-18-2010)
i think your missing
BOOL APIENTRY DllMain( HMODULE hModule,
DWORD ul_reason_for_call,
LPVOID lpReserved
)
above that code
rocker340 (06-18-2010)
ohhh kk thanks guys i realized that i had this and then another dllmain.cpp in the project so i deleted it and it work thanks for the help
Last edited by rocker340; 06-18-2010 at 07:06 AM.
If you need a Lo/Ck/Er/Z invite, PM me! Lo/Ck/Er/Z is a promotion site to watch videos for PTZ, and redeem cool electronics for free by trading in PTZ
umm do you have a file called dllmain.cpp in the project?
it ok i got it to work
/close request
If you need a Lo/Ck/Er/Z invite, PM me! Lo/Ck/Er/Z is a promotion site to watch videos for PTZ, and redeem cool electronics for free by trading in PTZ
/Solved
/Closed
-Rest in peace leechers-
Your PM box is 100% full.