问题
how may I create a C++ (maybe requiring /CX extension) desktop Windows 8 application using XAML (and its visual editor) for the GUI? To be explicit NOT creating a Windows store application, I mean, something similar to using plain C++ and Qt (with Designer).
回答1:
Windows Desktop and Windows App Store are essentially incompatible target environments. There is no desktop XAML (i.e. WPF) project type for C++.
Your options are:
- use WinForms to create a C++/CLI desktop app with a designer
- use MFC to create a native C++ desktop app with a designer
- use native Win32 calls to create a native C++ desktop app without a designer
来源:https://stackoverflow.com/questions/13434433/how-may-i-create-a-c-cx-desktop-windows-8-application-using-xaml-for-gui