Skip to content

Conversation

@kythant
Copy link
Collaborator

@kythant kythant commented May 7, 2020

Undocked RegFree Winrt Activation

Finally pulling this up to master. RegFree WinRT. Implements detours for RoActivateInstance and RoGetActivationFactory to look at it's own catalog for the registration instead of the registry making it RegFree! Similar to RegFree WinRT but packaged inside a nuget package.

kythant and others added 30 commits January 2, 2020 13:28
Implemented apartment activation restrictions and enable cross MTA apartment activation for MTA types.
Test infrastructure and tests for apartment activation.
* Updating parsing to handle xml manifest files
Switch over from cmake to vcxproj because it makes building the pipeline easier.

Pipeline here:
https://dev.azure.com/microsoft/Dart/_build?definitionId=47851&_a=summary
* C++ apps no longer need a code change

* Adding support for RoGetMetaDataFile and RoResolveNamespace

* Updating test component to cppwinrt

* Manifest parameter no longer needed
Eric Johnson and others added 10 commits January 29, 2020 09:18
Check via Windows.Foundation.UniversalApiContract whether we should be disabling the detours.
If Windows.Foundation.UniversalApiContract version 8 is present that means we're on 19h1 and above.
Also added special function so that we can enable it for the tests.

Cross MTA activation test is also fixed by making our detour library aggresively fallback to the true APIs which is probably what we should be doing anyway to not break existing scenarios.
@kythant kythant requested a review from kennykerr as a code owner May 7, 2020 01:06
@kythant kythant self-assigned this May 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants