Share via

Authoring Interfaces

Rebeka Fox 106 Reputation points
2022-06-07T08:24:46.463+00:00

It's been a while, but I remember being able to author my own interfaces in vanilla COM for 3rd party implementation. IIRC I made a new project, declared my interfaces in MIDL, and passed out a proxy-stub and a header. Is there a proper way to do this in WinRT/C++, WinUI 3.0 WRC's? Should I just make some vanilla COM interfaces?

Windows development | Windows App SDK
0 comments No comments

1 answer

Sort by: Most helpful
  1. Rebeka Fox 106 Reputation points
    2022-06-08T00:26:32.917+00:00

    I think the proxy/stub sections of these two articles targeting Windows Runtime Components under UWP are the best solutions I'll get. It's essentially the same as the old way of doing it.

    https://learn.microsoft.com/en-us/windows/uwp/winrt-components/brokered-windows-runtime-components-for-side-loaded-windows-store-apps

    https://learn.microsoft.com/en-us/previous-versions/windows/apps/dn169426(v=vs.140)

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.