My C++/WRL sample available in Dev Center – Windows Store Apps has been reviewed by the creator of WRL himself, Sridhar Madhugiri.
Because this sample source code will be the support for an upcoming technical article published in Dr Dobb’s magazine Digital Issue, I have asked the Microsoft Visual C++ Lead to give me some advices.
I had a strange bug in some circumstances. So he proposed directly to Sridhar to give me some help !
My problem was about handling HSTRING new Windows data type. It has to be wrapped with a String helper class.
The same issue occurred with interface pointers that need to be wrapped with the ComPtr<T> class.