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

Creating a webview window fails on the github runner #31

Open
sciguy16 opened this issue Mar 7, 2021 · 0 comments
Open

Creating a webview window fails on the github runner #31

sciguy16 opened this issue Mar 7, 2021 · 0 comments

Comments

@sciguy16
Copy link
Member

sciguy16 commented Mar 7, 2021

nwg::init()?;
let mut window = Window::default();
Window::builder()
.title("WebView2 - NWG")
// TODO work out how to make a proper invisible window
.position((65536, 65536))
.size((WIDTH, HEIGHT))
.flags(WindowFlags::MAIN_WINDOW | WindowFlags::VISIBLE)
.build(&mut window)?;

 thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: Error { hresult: -2147024894 }', src\main.rs:190:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
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