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

Get current process window failed when enumerate window in thread_. #47

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chifandeyu
Copy link

No description provided.

@cloudwebrtc
Copy link
Member

hey @chifandeyu, Thanks for your contribution, can you explain under what circumstances the thread error occurs?

@chifandeyu
Copy link
Author

@cloudwebrtc After debugging webrtc. I found the function "GetWindowListHandle" call "IsWindowResponding(hwnd)" return false. set "uTimeoutMs = 3000" will still timeout and return false.I haven't found any detailed information for the specific reasons.

@chifandeyu chifandeyu changed the title Get current process window failed when enumeration window in thread_. Get current process window failed when enumerate window in thread_. Oct 15, 2022
@chifandeyu
Copy link
Author

hey @chifandeyu, Thanks for your contribution, can you explain under what circumstances the thread error occurs?

I found the problem when the worker thread tries to SendMessageTimeout to check Is window responding but now the main thread is waiting and the main thread is blocking.

image

image

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