Skip to content

Conversation

@tdlbugreport
Copy link

Added a check for zero process ID and make a warning instead directly giving up.

Added a check for zero process ID and make a warning instead directly giving up.
@crosire
Copy link
Owner

crosire commented Nov 8, 2025

In what case did you experience a PID of zero occuring here?

@tdlbugreport
Copy link
Author

tdlbugreport commented Nov 8, 2025

In what case did you experience a PID of zero occuring here?

mw:19 with iw8-mod installed.

@crosire
Copy link
Owner

crosire commented Nov 9, 2025

I'd be interested in why it's zero though. Does the GetWindowThreadProcessId call fail (return zero)? What's the error returned by GetLastError() afterwards?

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.

2 participants