Open ShayBox opened 1 year ago
As for the std::error::Error
problem, I opened #32. Let me check the other.
I can't replicate the error. Access denied still pops up when I ran the code as administrator. Have you managed to get it working?
You have to run the compiled .exe directly, not through a terminal or editor, that allowed for using the HWND without access denied
I'm trying to handle the windows error from
MediaControls::new
that it panics when the program isn't run as Administrator, but I don't see how to convert the error to aWindowsError
, only from.I also can't seem to use
error-stack
IntoReport on souvlaki errors like other errors, they don't implementstd::error::Error
.The Administrator requirement may be from using the existing HWND created by the terminal when opening my program, because I don't spawn a window myself.
EDIT: I can't seem to
set_playback
for sources other than my own withset_metadata
, is it possible to do this?