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.
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