-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support additional VARIANT
types
#2877
Comments
You can use |
I tried, but the transition from VARIANT to IUnknown was unsuccessful: dbg!(IUnknown::try_from(&arr[0]));
|
Ah, I meant to support both but looks like I may not have got around to that. |
Is there a way for me to implement it myself without using the |
I also ran into this in #2876. This 0.53 update was a massive change in the COM space and several things I was doing were basically made impossible. I would have hoped things would have been migrated in a way that did not make it impossible to upgrade as changes were being made. Getting an IDispatch from a VARIANT is vital to being able to use COM apis. IMO, this should not have been released if you "hadn't gotten around to it yet". |
I have downgraded to version 0.52.0 and am waiting for further processing. |
VARIANT
types
To summarize, I'm hearing the following:
The latter can be achieved today using Thoughts? |
I hope to support VARIANT conversion to IDispatch, which is an elegant implementation. |
Could you also add from_raw, even if hidden, so that I can construct a VARIANT from an imp::VARIANT? |
You should be able to |
Let me know what you think of this: #2892 |
I think that will do nicely, thank you. |
Summary
I encountered a problem when updating Windows rs to 0.53.0. I am using the AccessibleChildren function, which may return a VARIANT type of IDispatch, but I am unable to convert it to IDispatch;
Crate manifest
Crate code
The text was updated successfully, but these errors were encountered: