I was recently refreshing some of my C++ knowledge and came across Multiple Inheritance and Virtual Base Classes. They can be tricky concepts for C++ developers if not understood properly, so I wanted to write down my own explanation of these concepts.
This year at Build I went to a few sessions covering the new Background Task infrastructure available for Windows Phone 8.1 Apps. The Microsoft Program Managers running these sessions all echoed a common theme: you should write your background task code in C++.
The Windows Phone dev center allows you to view crash reports for all of your Windows Phone apps. For C# apps the feature works great, it allows you to see a full stack trace of the exception which should give you enough information to fix the crash. With C++ Apps the stack trace only gives you the memory address of where the exception occurs though. In this post I’ll show you how to find the function where the crash is occurring in your C++ code from this memory address.
I saw some recent blog posts about updating the UI from an asynchronous thread using the Dispatcher in a Windows Phone C# App. Very useful tips, but C# is no longer the only game in town for Windows Phone! What if you are developing a Direct3D/C++ Windows Phone App and you need to get to the UI from another thread?