DLLmain -dll_attach_procces-
Hey , i build my first hack (helped by few people
!) ,
I successd to create the dll but when i inject and i start game and i press the keys nothing happens...
and six99 said the problem is in the DLLMain that i need to create thread for the DLL_PROCCES_ATTACH... and i dont know how to do that...
I go this:
When i click build solution its gives me error :
somebody can give a good dllmain code?
thankx!
!) ,I successd to create the dll but when i inject and i start game and i press the keys nothing happens...
and six99 said the problem is in the DLLMain that i need to create thread for the DLL_PROCCES_ATTACH... and i dont know how to do that...
I go this:
Code:
BOOL WINAPI DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
DisableThreadLibraryCalls(hModule);
if (ul_reason_for_call == DLL_PROCESS_ATTACH)
{
MessageBoxA(0, "wOOOO eliya", "Yup", 0);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)&Hack, NULL, NULL, NULL);
}
}
1>dllmain.cpp(10): error C2065: 'Hack' : undeclared identifier
thankx!

