I have some pointer addresses given to me by CheatEngine, but they look like this:
Game.dll+Offset
I tried using a code like this to get the handle of the dll, and apply the offset...
But it just returns 0... I know i am doing something stupid wrong, but could someone please help me out? Thanks.Code:#include "stdafx.h" #include <windows.h> #include <stdio.h> int main() { HMODULE module_handle; module_handle = GetModuleHandle(_T("Game.dll")); printf("handle = %d", module_handle); return 0; }




Reply With Quote