-
-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make 100% x64 compatible. #3
Comments
Was having issues with overflow if the application opened was x86, so I added a new function is64bit() to divert 64bit apps to the get64bitcode() function instead of getcode(). Still needs to be tested though. |
Apparently MEMORY_BASIC_INFORMATION has both a 32bit and 64bit structure. That new is64bit() function came in handy for switching this around. https://msdn.microsoft.com/en-us/library/windows/desktop/aa366775(v=vs.85).aspx |
Also had to fix is64bit() as I assumed WoW64 meant the program was 64 bit. It actually means Windows 32bit on Windows 64bit. So I swapped that boolean around and fixed it. For more info - https://en.wikipedia.org/wiki/WoW64 |
When making a trainer for a 64bit game, you have to uncheck the "Prefer 32-bit" checkbox in the build options. Memory.dll does not need to be re-compiled, it will work for both 32-bit and 64-bit applications. |
I'm going to close this issue since all of this has been fixed to my knowledge. |
Might already be done, just needs to be tested.
The text was updated successfully, but these errors were encountered: