A getting started template for creating XAML/DX apps using C++ and the SwapChainBackgroundPanel

This post comes courtesy of Wayne Ransier. Start a XAML/C++ project in Visual Studio 2012 with the default Blank Template and replace the generated <Grid> element with a <SwapChainBackgroundPanel> <SwapChainBackgroundPanel x:Name="DXSwapChainPanel"> </SwapChainBackgroundPanel> If you build the solution now, the code compiles but the app crashes at runtime. The fix for the crash is simple. Replace [...]