Given the .winmd file, where can we find the real implementation dll?

I have a question that the .winmd file asked, where can we find the real implementation? .Winmd is the same as the head file or the dynamic library .lib file, it does not contain any implementation, I am curious where exactly its implementation is. Thank.

+4
source share
3 answers

You can not. The .winmd file simply contains type declarations; it does not contain code. This is the exact equivalent of the type library (.tlb) used by COM Automation. The logical equivalent of a .h file in a C or C ++ program.

.tlb WinRT .winmd, .NET, .NET(, ildasm.exe), , , , WinRT, , ++ , #including.h , .

.h, , . Windows.winmd, , WinRT, , .winmd. , . , .

+3

. , .

, Windows.winmd .winmd C:\windows\system32\WinMetadata, .

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsRuntime\ActivatableClassId\SystemSettings.DataModel.SettingsDatabase, DllPath DLL, .

+5

. winmd ( CLR JS ++ ). API RoActivateInstance ( API RoGetActivationFactory) , .

ActivatableClassId . , .

+1

Source: https://habr.com/ru/post/1531288/


All Articles