Skip to content
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

Need to fully implement object to VARIANT. #8596

Open
Tracked by #10797
JeremyKuhne opened this issue Feb 8, 2023 · 1 comment
Open
Tracked by #10797

Need to fully implement object to VARIANT. #8596

JeremyKuhne opened this issue Feb 8, 2023 · 1 comment

Comments

@JeremyKuhne
Copy link
Member

I've added a FromObject method on VARIANT that only handles null and string. It needs to handle the flip side to ToObject in order to stop using Marshal for conversion. (Necessary for enabling trimming and AOT scenarios where runtime COM interop is disabled.)

@JeremyKuhne
Copy link
Member Author

The difficult part of this will be what to do with reference types. Needs some investigation of how things get turned into VT_DISPATCH or VT_UNKNOWN in the runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant