Building C++ Universal Apps with Visual Studio 2015

Play Building C++ Universal Apps with Visual Studio 2015

The Discussion

  • User profile image

    what happens when a device running an old contract version attempts to start an app that demands a higher version of contracts?  point the user to windows update?

  • User profile image

    Quite an important reminder at the beginning that you actually need to go back and use "programs and features" to "Modify" the VS2015 install to load the "Universal App Dev Tools".

    So you should do it before you watch the program, because it is a substantial download.


    Where is the XAML reference manual that explains exactly what UI functions are available?

    What Windows OS version will they eventually run on?  Win 10 Only?  Win 8.1? Win 7?

    What book or online reference must be read to understand how to use UAP?

    Feedback:  Thanks, this was helpful.   

  • User profile image

    All you've shown is C++/CX. What about native C++? Can I access UAP with native C++ via, for example, a set of COM objects like I can do it with WinRT?


  • User profile image


    The idea is that the app is supposed to handle the case when it is trying to use a functionality present only in a newer API contract version.  The app needs to (and can) now check whether the target device contains that functionality or not.


    @bdhc73a:You can find a lot of documentation about all Windows 10 API (not only XAML) here:

    API contracts and adaptive apps are relevant only for Windows 10 and above


    @Brigadir: Using C++/CX makes it much easier to deal with any Windows Runtime API and the concept of API contracts.  It is possible to do all of this using the WRL library also but the experience for C++/CX is slightly better integrated with the Visual Studio IDE.

  • User profile image

    where could I download the opecv sdk for windows 10

Add Your 2 Cents