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

VirtualDesktop FromHwnd(IntPtr hWnd) Exception #42

Closed
wil70 opened this issue Jul 29, 2019 · 1 comment
Closed

VirtualDesktop FromHwnd(IntPtr hWnd) Exception #42

wil70 opened this issue Jul 29, 2019 · 1 comment

Comments

@wil70
Copy link

wil70 commented Jul 29, 2019

When I start a new application (like Chrome) and ask for its desktop (via VirtualDesktop FromHwnd(IntPtr hWnd)), then I get the following exception:
{"Element not found. (Exception from HRESULT: 0x8002802B (TYPE_E_ELEMENTNOTFOUND))"}

If I click one the application that I just started and then call again "VirtualDesktop FromHwnd(IntPtr hWnd) " then I do get an exception and the function works well..

Any idea?

Thanks!

@wil70 wil70 closed this as completed Jun 22, 2020
@rhyek
Copy link

rhyek commented Oct 2, 2020

Why was this closed?

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

2 participants