getting into game manipulation, I've always used
DWORD ClientBase = (DWORD)GetModuleHandle("thing.dll");
and now I have a base that uses an.exe, what do I do, the address is always reading 0
no matter what I do.
The call is failing. Check that you have the correct path to the file you're trying to open.
From: https://docs.microsoft.com/en-us/previous-versions/ms908443(v=msdn.10)
Return Values
A handle to the specified module indicates success. NULL indicates failure. To get extended error information, call GetLastError.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.