HarikrishnanVR-4367 avatar image
0 Votes"
HarikrishnanVR-4367 asked YanGu-MSFT commented

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

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).

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@HarikrishnanVR-4367 You could use dllexport, dllimport to export and import functions, data, and objects to or from a DLL. A winmd file is used by tools and language projections in order to enable language projection. Sometimes the two ways could be used at the same time, and sometimes you could use each of them as needed.

0 Votes 0 ·

0 Answers