Creating a log file in Windows Runtime using C++

If you have a native C++ project running on Windows Runtime AND you want to do some logging then you are in for a surprise. You cannot simply open a file “C:\log.txt” and dump all your logs there. You have to use Windows Runtime APIs to create files and write to them. Since Windows Runtime…

3

Calling Windows Runtime Async functions from C++ using WRL

“await” This 5 letter word might look trivial to you if you are a C# developer, but once you leave C# domain and enter the cruel world of C++/CX you will start to like it. But if you move to pure C++ from C++/CX then you will start to love it. Reason for that is…

0

HSTRING wrapper for C++

If you are developing apps for Windows Store or Windows Phone in C++, chances are that one of the biggest annoyance you will see are the HSTRING(specifically creating and managing them.) If you are using C++/CX you can get away by using “Platform::String”, but if you cannot use CX extension your only option is to…

0