How to export data, functions, classes from C++/WinRT library

Harikrishnan V R 21 Reputation points
2021-04-08T11:22:33.387+00:00

Usually we are using dllexport/dllimport method for c++ libraries. Then a test application can use the dll implicitly/explicitly for accessing the dll functions.
And we can make use of .winmd files in the c++/winRT to access the classes, functions using a test application.

Then what is the difference between these two concepts?
Which one is better for a c++/WinRT library(dll).

Developer technologies | Universal Windows Platform (UWP)
Developer technologies | C++
{count} votes

Your answer

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