How may I create a C++(/CX ?) _DESKTOP_ Windows 8 application using XAML for GUI?

左心房为你撑大大i 提交于 2019-12-11 01:37:17

问题


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:

  1. use WinForms to create a C++/CLI desktop app with a designer
  2. use MFC to create a native C++ desktop app with a designer
  3. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!