-
Notifications
You must be signed in to change notification settings - Fork 998
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
Fix ELEMDESC native interop definition #896
Comments
Who is taking point on this? |
I was not able to construct a case where any of this code gets used. Is any of this COM stuff supported in .NET Core? |
Looking through the Hosting 3rd party unmanaged ActiveX controls inside WinForms is something we have occasionally used, so I don't think it should be dropped entirely. However if my assumption is right and the |
ELEMDESC doesn't contain a pointer. This fixes a regression introduced in dotnet#818. Fixes dotnet#896
ELEMDESC doesn't contain a pointer. This fixes a regression introduced in dotnet#818. Fixes dotnet#896
This is a follow-up issue to PR #818 where it was noted (link to comment) that the definition of
ELEMDESC
that WinForms uses seems to be wrong.Currently the definition is embedding the
TYPEDESC
by reference (it was a class before, so the interop rules should already have been embedding it as a pointer before PR #818)while the definition of ELEMDESC and TYPEDESC on msdn is
Notes taken from the previous discussion in the PR
ELEMDESC
in WinFormsSystem.Runtime.InteropServices.ComTypes
- note that this still requires reviewing and adjusting callers in WinForms which previously used the broken versionThe text was updated successfully, but these errors were encountered: