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

Marshal.GetIDispatchForObject should be implemented on platforms with COM support #33217

Closed
elinor-fung opened this issue Mar 5, 2020 · 1 comment · Fixed by #33403
Closed

Comments

@elinor-fung
Copy link
Member

Marshal.GetIDispatchForObject always throws PlatformNotSupportedException.

Now that we have COM support on Windows, it should actually be implemented under FEATURE_COMINTEROP and separate tests added for Windows / non-Windows - just like the other COM-related Marshal functions.

Callers achieving the same functionality through Marshal.GetComInterfaceForObject with IDispatch as the type could be switched to it as well - #33060 (comment)

@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't add an area label to this Issue.

Checkout this page to find out which area owner to ping, or please add exactly one area label to help train me in the future.

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Mar 5, 2020
@jeffschwMSFT jeffschwMSFT added this to the 5.0 milestone Mar 5, 2020
@jeffschwMSFT jeffschwMSFT removed the untriaged New issue has not been triaged by the area owner label Mar 5, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants