DCSIMG
C++ - Essential XAML

Browse by Tags

All Tags » C++ (RSS)

Using C# types from C++/CX in Windows 8 Store Apps by Tomer Shamam

One of the best things happened to Windows 8 Store Apps (aka Metro apps) is the option to write apps and games with pure, native C++, with the help of CX extensions. Aside from performance gained by using C++, being able to develop with C++ in Windows 8 Apps addresses one of the most requested scenarios: Porting and Code Sharing. Lets say that you’re the creator of a famous Mobile Application, developed using C++ for Android and other platforms, and you may want to port this great app, or pieces...

Get screen resolution in Windows 8 Metro style application by Tomer Shamam

Today, someone asked an interesting question in the Israeli Metro forum I’m moderating. The question was: “How can I know what’s the screen resolution in a Metro style app?” This is a tricky answer, since: This capability has been removed from the RC. We can’t rely on current window Width and Height, since it may not be fully opened (snapping). Well, searching a bit over the API’s, I didn’t find anything that can help, but, we can always use DirectX. Creating a C++ Metro style application, here’s...
Powered by Community Server (Commercial Edition), by Telligent Systems