Benedict Wilkins

Results 4 comments of Benedict Wilkins

weirdly if you clone the repo and run with main.rs then it works, but if you add the repo cargo.toml with your own main.rs then get this error, maybe some...

### SOLUTION: Just update the versions in your Cargo.toml file: ``` [target.'cfg(target_os = "windows")'.dependencies] windows-capture = "1.3.6" windows = { version = "0.58", features = [ "Win32_Foundation", "Win32_Graphics_Gdi", "Win32_UI_HiDpi", "Win32_UI_WindowsAndMessaging",...

sorry I meant for you to change the version in the local cargo.toml of scap (i.e. not the cargo.toml of your project), ill update the comment

NOTE: I have updated to use windows crate 0.58, this could be the source of the issue, see if you can reproduce! EDIT: it could also be an output resolution...