Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to createwindow in process
#1
hi, I try createwindow in process game use make DrawEsp on new Window but I can't createwindow Code: void Hack (){ HWND tmpWnd = CreateWindowA ( "ABC" , "WinApp" , WS_OVERLAPPEDWINDOW , CW_USEDEFAULT , CW_USEDEFAULT , 300 , 300 , NULL , NULL , Hand , NULL ); } BOOL WINAPI DllMain ( HMODULE hDll , DWORD dwReason , LPVOID lpReserved ) { switch ( dwReason ) { case DLL_PROCESS_ATTACH : CreateThread ( 0 , 0 , ( LPTHREAD_START_ROUTINE ) Hack , 0 , 0 , 0 ); //init our hooks break ;   case DLL_PROCESS_DETACH : break ; } return TRUE ; }
Reply
#2
Change the Hack function to Code: DWORD WINAPI Hack ( PVOID )
Reply




Users browsing this thread: 1 Guest(s)