Skip to content
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

Improve NetHook2 64-bit support #1243

Merged
merged 2 commits into from
Aug 19, 2023
Merged

Improve NetHook2 64-bit support #1243

merged 2 commits into from
Aug 19, 2023

Conversation

sapphyrus
Copy link
Contributor

It seems like __x86_64__ is not actually defined when building with a 64-bit MSVC, so this pull request switches those checks added in #1235 to steam's own X64BITS (defined in steamtypes.h).
It also adds a more useful error message when trying to use a 32-bit NetHook2 with a 64-bit process or vice versa. Before, you would be hit with "Unable to acquire SeDebug privilege" or "Target process does not have steamclient.dll loaded".

@sapphyrus sapphyrus changed the title Switch to Steam's define for 64-bit detection Improve NetHook2 64-bit support Aug 10, 2023
@psychonic psychonic merged commit f5f2da7 into SteamRE:master Aug 19, 2023
11 checks passed
@xPaw xPaw added this to the 2.5.0 milestone Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants