News for hackers. Stuff that matters.
Re:Calling Windows 10 APIs from a WinForms or WPF application by diego_moita on Friday January 27, 2017 @01:38PM (#13501586)
Similar tricks[0] can be used on Win32 applications.

Although, I never got Intellisense working in VS if I declare #using <windows.winmd> in C++/Win32 projects.

A simpler and a lot more interesting alternative (for Win32) is the excellent cppwinrt library[1]

[0] https://software.intel.com/en-us/articles/using-winrt-apis-f...

[1] https://github.com/Microsoft/cppwinrt

Re:Calling Windows 10 APIs from a WinForms or WPF application by becarefulyo on Friday January 27, 2017 @02:10PM (#13501814)
The article has Win32 examples too.
Re:Calling Windows 10 APIs from a WinForms or WPF application by Longhanks on Friday January 27, 2017 @05:36PM (#13503365)
Using C++/CX (as seen by ref new).

cppwinrt is ISO C++.

Re:Calling Windows 10 APIs from a WinForms or WPF application by becarefulyo on Friday January 27, 2017 @06:11PM (#13503599)
You can use Windows Runtime Library (WRL) instead of C++/Cx.

https://msdn.microsoft.com/en-us/library/hh438466.aspx

Re:Calling Windows 10 APIs from a WinForms or WPF application by pjmlp on Friday January 27, 2017 @05:43PM (#13503414)
C++/WinRT is still WIP.

I wouldn't use it for production code until it reaches feature parity with C++/CX.