dotnet / dotnet/winforms

ActiveXImpl.QuickActivate has a dependency on COM interop IConnectionPointContainer

Open
#9,633 3 comments 0 reactions 0 assignees View on GitHub
area-COM area-ILLinker/AOT area-Trimming
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

[The code here](https://github.com/dotnet/winforms/blob/c0ac1f1723e6cd67563d0c979842ae3c1609fd44/src/System.Windows.Forms/src/System/Windows/Forms/Control.ActiveXImpl.cs#L1412) leverages the auto-generated `IConnectionPointContainer` from COM interop for access to managed events. If built-in COM interop is not available we'll have to figure how to replace this.

In this particular case it is only done for user controls, but we probably will need to provide this functionality in general for Control. I'm not sure how prevalent this is for our users that would want to use AOT.

cc: @AaronRobinsonMSFT @lonitra

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.