Windows 10 and File Explorer

It’s been a while since I posted anything so I figured I’d give you all, my good-looking audience, an update. My team and I have been pretty busy with File Explorer in Windows 10, and we are very excited about where we are headed and I personally am thrilled with the fact that we get…

3

Your app will crash if you try to invoke the setdesktopwallpaper verb

I was building a little app that would take a jpeg file and set it as the user’s wallpaper. I could use the SystemParametersInfo API but I wanted something a bit more flexible (e.g. SPI only supports BMP images). So I set out to do what most people have already tried (and failed) and attempted…


Adventures in reinterpret_cast

It’s like dialing the wrong number and then going on as if you’re talking to the person you intended to anyway Today I was helping one of my teammates debug an issue he had been looking at for a while. The symptom was a crash here: HRESULT CGadget::GetPropertyValue(PROPERTYID propertyId, VARIANT *pRetVal) {      switch (propertyId)…