Comments (3)
Specifically, when using windows-rs version 0.29, I get four different errors related to IVector_abi and IObservableVector_abi.
error[E0412]: cannot find type `IObservableVector_abi` in module `windows::Foundation::Collections`
--> C:\Users\*\.cargo\git\checkouts\windows-app-rs-2b833a79998cddd6\5438301\src\Microsoft\UI\Xaml\mod.rs:5161:55
|
5161 | type Vtable = ::windows::Foundation::Collections::IObservableVector_abi<DependencyObject>;
| ^^^^^^^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `IObservableVectorVtbl`
|
::: C:\Users\*\.cargo\registry\src\github.com-1ecc6299db9ec823\windows-0.29.0\src\Windows\Foundation\Collections\mod.rs:1233:1
|
1233 | / pub struct IObservableVectorVtbl<T>(
1234 | | pub unsafe extern "system" fn(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *mut ::core::ffi::c_void) ...
1235 | | pub unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32,
1236 | | pub unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32,
... |
1244 | | where
1245 | | T: ::windows::core::RuntimeType + 'static;
| |______________________________________________- similarly named struct `IObservableVectorVtbl` defined here
error[E0412]: cannot find type `IVector_abi` in module `windows::Foundation::Collections`
--> C:\Users\*\.cargo\git\checkouts\windows-app-rs-2b833a79998cddd6\5438301\src\Microsoft\UI\Xaml\mod.rs:32901:55
|
32901 | type Vtable = ::windows::Foundation::Collections::IVector_abi<TriggerAction>;
| ^^^^^^^^^^^ help: a struct with a similar name exists: `IVectorVtbl`
|
::: C:\Users\*\.cargo\registry\src\github.com-1ecc6299db9ec823\windows-0.29.0\src\Windows\Foundation\Collections\mod.rs:1676:1
|
1676 | / pub struct IVectorVtbl<T>(
1677 | | pub unsafe extern "system" fn(this: *mut ::core::ffi::c_void, iid: &::windows::core::GUID, interface: *mut *mut ::core::ffi::c_void) ...
1678 | | pub unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32,
1679 | | pub unsafe extern "system" fn(this: *mut ::core::ffi::c_void) -> u32,
... |
1697 | | where
1698 | | T: ::windows::core::RuntimeType + 'static;
| |______________________________________________- similarly named struct `IVectorVtbl` defined here
There was also an error relating to the Debug trait. This was a known problem introduced in windows-rs 0.29, and fixed in 0.30. The crate compiles without error when using windows-rs 0.28.
from windows-app-rs.
This should be fixed once windows-app-rs
switches over to the new bindgen
crate. @riverar
from windows-app-rs.
Yep, hoping to close all issues here with a new crate update!
from windows-app-rs.
Related Issues (18)
- Message box not themed HOT 2
- XAML markup support HOT 2
- Append to CommandBar.PrimaryCommands HOT 4
- Xaml::Controls::MenuBar crashes HOT 9
- STATUS_ACCESS_VIOLATION HOT 5
- windows_app_sdk `STATUS_STACK_BUFFER_OVERRUN` HOT 3
- the second sample in your readme produces an error HOT 9
- Unidiomatic use of `Result::and_then` in README
- Can't use `implement` macro for `Application` HOT 3
- Where do the winmd files come from? (besides the generated one) HOT 4
- Cross compilation from Linux? HOT 5
- Error 0xc0000409 occurs in updated crate (Win App SDK 1.1) during bootstrap if .exe does not have a manifest HOT 1
- Error despite success HOT 1
- WinUI 3 support HOT 1
- Wondering why some controls work in xamlapp sample and some do not HOT 12
- Roadmap HOT 1
- Add an example HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windows-app-rs.