本帖最后由 Qter 于 2023-6-3 18:34 编辑
https://www.codeproject.com/Arti ... me-Component-in-a-W
The idea behind it is similar to that of the Component Object Model (COM), in fact, even in COM a component once published, regardless of the language in which it was written, can be used transparently by applications written in any compatible COM language. So in WinRT as well as in COM, applications can be written in various languages(language implementation: C++, C#, VB, Delphi, etc.). Each language, or rather every compiler, in this case produces not only DLL.s or EXE but also .winmd files (WinMD) or Windows Metadata, which contain the description, in machine code, of the implemented types (metadata).
|