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