Search code examples
uwpwrl

Does UWP support WRL


I have an old Media Extension sample code base on WRL, it works very well on windows 8.1. But when port it to UWP, it report error while merge metadata.

Does UWP support WRL now?


Solution

  • winmd position is changed, add this line in MIDL

    -metadata_dir "C:\Program Files (x86)\Windows Kits\10\UnionMetadata"