3 ms·
Confusingly, C++/CX is actually not for the .NET runtime, so it's not a successor to C++/CLI. Instead C++/CX targets the traditional COM platform which goes ba
by pavlov 11y ago
Confusingly, C++/CX is actually not for the .NET runtime, so it's not a successor to C++/CLI.
Instead C++/CX targets the traditional COM platform which goes back decades and was kind of resurrected as the foundation of WinRT (and whatever it's called in Windows 10 -- UWP I guess? I have trouble following these rebrandings).
As far as I've understood, the point of C++/CX is somewhat similar to Objective-C. You can still write raw COM code in plain C or C++ (just like you can use the Obj-C runtime from plain C if you really want to)... But C++/CX is there to make it more palatable.
- nikbackm 11y agoYou also don't need to use C++/CX in order to write UWP applications, there are several other bindings available [0]. There even exists a non-Microsoft made binding [1]. [0]https://en.wikipedia.org/wiki/Windows_Runtime#Programming_interfaces https://en.wikipedia.org/wiki/Windows_Runtime#Programming_in... [1] http://moderncpp.com/about/ http://moderncpp.com/about/