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