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

GetHWNDByPid failed #624

Open
1 of 3 tasks
shuzhongling opened this issue Nov 17, 2023 · 0 comments
Open
1 of 3 tasks

GetHWNDByPid failed #624

shuzhongling opened this issue Nov 17, 2023 · 0 comments

Comments

@shuzhongling
Copy link

  • Robotgo version (or commit ref): v0.110.0
  • Go version: 1.20.4
  • Gcc version: 13.2.0
  • Operating system and bit: windows 11 64bit
  • Resolution:
  • Can you reproduce the bug at Examples:
    • Yes (provide example code)
    • No
    • Not relevant
  • Provide example code:
        id := robotgo.GetPid()
	h1 := robotgo.GetMain()
	h2 := robotgo.GetHWNDByPid(id)
	if int(h1) != h2 {
		fmt.Println("the hwnd not equal!")
	}
  • Log gist:

Description

i think h1 and h2 should be the same, but it is not the same
...

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

No branches or pull requests

1 participant