Closed toastmod closed 3 months ago
Additionally, it seems IDataObject_Impl
does not exist. I am trying to implement IDataObject so I believe I would need this?
IDataObject
relies on types that are unavailable in your crate.
In your Cargo.toml, add windows features:
"Win32_Graphics_Gdi",
"Win32_System_Com_StructuredStorage",
Then implement IDataObject_Impl
as you were going to.
Maybe @kennykerr can speak to how we can potentially emit a better warning/error here.
Yep, I have a few things in the works to improve the compiler diagnostics around COM authoring. Stay tuned.
Closing in favor of #3036.
Suggestion
It looks like the
new
function doesn't exist on theIDataObject_Vtbl
struct, which theimplement
macro is trying to call. Can this be added please? Or am I doing something wrong maybe?Error message:
Here is my Cargo.toml:
And my code: