Stupid errors
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
Please tell me there is a line above the first { with text in it.