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

Implement new COM interop API for RCW/CCW creation/management #32091

Merged
merged 83 commits into from
Mar 7, 2020

Conversation

AaronRobinsonMSFT
Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT commented Feb 11, 2020

Implementation of the proposed API found at #1845.

All new tests run and pass on Windows running under COMPlus_GCStress=0xC.

In order to allow code generators to make performant RCW/CCW implementations, the NativeCallableAttribute should be made public and the C# function pointers proposal should be implemented.

TODO:

  • Complete Peg/Unpeg API implementation.

  • Remove all new TODOs.

  • Finish E2E testing provided by the Mock Tracker Runtime project.

  • Add testing for skip cache scenarios when creating managed wrappers.

  • Handle build issues on non-Windows platforms.

  • Remove shutdown logic once Remove unused COM shutdown logic. #32381 is merged in.

  • Add logging to the runtime side of the interoplib library.

  • Investigate how the following COM APIs work with this API.

Future issues to file:

/cc @jkotas @jkoritzinsky @Scottj1s @davidwrighton

@AaronRobinsonMSFT
Copy link
Member Author

All green - w00t! @jkotas and @jkoritzinsky Any more feedback or thoughts? Still waiting for API review, but this is a large PR and will take some time. Thanks.

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

Successfully merging this pull request may close these issues.

6 participants