Show HN: Use Windows 10 Apps APIs Directly from Node.js and Electron
github.com
github.com
It would be very nice if the WinMD thing could be system-agnostic (within reason of course), so that the generated modules aren't specific to a particular version of Windows. I admittedly know very little about this, so I'm guessing it's a lot more complex than I realize.
Attempting to call functions which don't exist on the OS you are using should just result in E_NOINTERFACE being surfaced by this projection.
It looks quite nice idea to fork and re-purpose it to generate projections for other languages besides JavaScript.
Specially because the documentation how to create language projections is quite sparse and requires COM knowledge.
So the generator accessing the .NET metadata from a .NET language is more appealing than the existing COM API to work with WinRT types.
In any case, nice work.
(I started this GitHub repository but this has been developed 100% by Patrick so far, since everything I was working on was done much better by him. His fork is at https://github.com/Boddlnagg/winrt-rust )
So, in short: cool project!