Closed MRahilly closed 2 weeks ago
Check out the readme here:
https://github.com/microsoft/windows-rs/tree/master/crates/samples
You need to pick the version of the samples that match the version of the crate you're trying to use.
Thanks again Kenny.
Summary
I need to make these changes to main.rs to get core_app to build:
[allow(non_snake_case)]
//impl IFrameworkViewSource_Impl for CoreApp_Impl { impl IFrameworkViewSource_Impl for CoreApp { fn CreateView(&self) -> Result {
// TODO: need self query
self.into()
to support implementing both IFrameworkViewSource and IFrameworkView on the same object. Ok(CoreAppView().into()) } }[implement(IFrameworkView)]
struct CoreAppView();
[allow(non_snake_case)]
//impl IFrameworkView_Impl for CoreAppView_Impl { impl IFrameworkView_Impl for CoreAppView {
Crate manifest
No response
Crate code
No response