Nov 6, 2020 Post comments count0 Post likes count1 How do I save a C++/WinRT array_view as a com_array? Raymond Chen There's a not-entirely-obvious constructor for that.
Nov 5, 2020 Post comments count1 Post likes count1 What’s the point of APTTYPE_CURRENT? I mean, of course I’m current. Raymond Chen No matter where you go, there you are.
Nov 4, 2020 Post comments count9 Post likes count1 What is the format of the data in the AudioBuffer memory buffer, and how do I convert it to something else? Raymond Chen It's a bunch of floating point samples, in a particular order.
Nov 3, 2020 Post comments count17 Post likes count2 The Settings app lets me pick a custom color for my mouse pointer, how do I get in on that action? Raymond Chen You'll have to build a better mouse pointer.
Nov 2, 2020 Post comments count19 Post likes count1 How can I ask the networking stack whether the system has obtained network connectivity? Raymond Chen Depends what kind of connectivity you're looking for.
Oct 30, 2020 Post comments count3 Post likes count1 Why am I getting an access violation trying to access a method on my C++/WinRT object? Raymond Chen The method vanishes.
Oct 29, 2020 Post comments count2 Post likes count1 Do any Windows Runtime projections cache nondefault Windows Runtime interfaces? Raymond Chen Possibly, but I know two that definitely don't.
Oct 28, 2020 Post comments count4 Post likes count1 Windows Runtime objects are represented by their default interface, so choose your default interface wisely Raymond Chen The choice is usually obvious, but on occasion, the non-obvious choice may be better.
Oct 27, 2020 Post comments count4 Post likes count1 The BurgerMaster segment may have been legendary, but some legends aren’t true Raymond Chen Just give them a call.
Oct 26, 2020 Post comments count7 Post likes count1 I told the Microsoft Visual C++ compiler not to generate AVX instructions, but it did it anyway! Raymond Chen Well, you explicitly generate them.