Using runtime class in C++ Win32 app

Gavin Williams 761 Reputation points
2021-08-07T16:32:51.893+00:00

Hi,

I have a runtime component which I'm trying to call from a legacy Win32 app (Not my ideal scenario but I'm being forced to provide an exe without any packaging complications).

It's simple to add a reference to the UWP runtime component to my application project - right click references, add reference, check <my component> but after that I can't seem to find the library. I can see windows winrt stuff, but I can't see my own classes or project namespace.

What do I do to use my runtime component?

Universal Windows Platform (UWP)
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,636 questions
{count} votes