# C++/WinRT overcorrection: Using make\_self and immediately converting it to the projected interface

DevFeed: [C++/WinRT overcorrection: Using make\_self and immediately converting it to the projected interface](<https://devfeed.tech/articles/c-winrt-overcorrection-using-make-self-and-immediately-converting-it-to-the-projected-interface-105914.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261028-00/?p=112803/>)

Author: Raymond Chen

Published: 2026-10-28T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [interface implementation](<https://devfeed.tech/topics/interface-implementation.md>), [interface](<https://devfeed.tech/topics/interface.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [code](<https://devfeed.tech/tags/code.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [projection](<https://devfeed.tech/tags/projection.md>), [windows](<https://devfeed.tech/tags/windows.md>)

## AI overview

C++/WinRT offers two creation paths for objects you implement. `make<Impl>` returns the projected Windows Runtime object; use `get_self<Impl>` if you later need implementation-only members. `make_self<Impl>` returns a `winrt::com_ptr<Impl>`, letting you access those members first and convert to the projection with `*`. Choose based on what you need to do first: use `make_self` for setup through implementation members, but when you only need the projection, return it directly from `make_self` rather than creating a pointer and converting it separately.

## Source excerpt

You are taking the scenic route. The post C++/WinRT overcorrection: Using <CODE>make_self</CODE> and immediately converting it to the projected interface appeared first on The Old New Thing.