Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: Why does explorer tell me the file was opened by the wrong program?

    (or why Windows Audio is holding an Event Log file open) Today’s blog post will be about the “File in use” dialog. You may have encountered this dialog when trying to delete a file that you happened to have already open. In Windows Vista, all you got was “this file is open in another program”. Not very...
  • Blog Post: Why do .zip files from Mac OS show up as green/encrypted?

    It’s kind of funny really. The ZIP specification mandates that a program/OS creating a zip archive include a tag informing about itself to the program trying to decompress the archive. This information is called “version made by”, and looks like this: 0 - MS-DOS and OS/2 (FAT / VFAT...
  • Blog Post: System Tray Notification area icons

    If you’re a developer writing for Windows 7, you’ll probably have noticed that icons in the System Tray aren’t shown by default. Raymond Chen blogged about this recently, here and here . Notification icons are identified by a GUID, a G lobally U nique ID entifier, which is just a big number. The idea...
  • Blog Post: How do I file a bug for Windows 7?

    Ok, so you can’t directly file a bug. Just imagine the number of random noise/issues (“my computer is slow” – well if you didn’t install that crapware you did last week maybe it wouldn’t be?)  we’d have to go through daily just to keep up with the volume. Believe it or not , the team that services...
  • Blog Post: So, what has your team been up to for the last six months?

    I know, everybody must be asking themselves this question. Luckily, I can now show you a bit more of what my team and I have been working for the better part of 2011! Enter what we call the “Windows 8 Copy UX” Read Steven Sinofsky’s blog entry for the full details: Build Windows 8 - Improving our file...
  • Blog Post: How to recover Google Chrome passwords and cookies

    If you’re one of the two people in the world that follow my blog (thank you Mom!) then you know that I’ve recently had a run-in with physics and my hard drive lost. Long story short, I was able to recover the files like so . If you’ve reinstalled your machine like me, then recovering...
  • Blog Post: How to Install the Visual C 7.1 Runtime on Windows 7

    You might ask, why would I want to do that…ever? Well, it may become more clear in my next post, so bear with me. It turns out I wasn’t able to find a download location for the VC 7.1 runtime. Maybe I didn’t look hard enough, whatever. What I did find was a DST update for the Visual C++ .NET 2003 Service...
  • Blog Post: Rescuing a corrupt NTFS partition (and giving Linux an n-th chance)

    A little while ago, I started getting bugchecks (BSOD). At first I didn’t pay much attention to them, but as they started to occur more frequently I guess the writing was on the wall. The bugcheck code in question was STOP 0x7A - KERNEL_DATA_INPAGE_ERROR. Well, what the heck does that mean, you...
  • Blog Post: Getting the Printer Friendly name from the Device Center shell folder

    If you are writing a context menu for the device center, you will probably need to get the "canonical" or "friendly" name of the printer or device that the user has right-clicked on. While your context menu extension gets passed a data object that should contain this information, it unfortunately doesn...
  • Blog Post: New Windows 7 Advertisement unveiled at today's Company Meeting

    Kylie Good News (I call it "More Happy is coming")
  • Blog Post: Servicing Dependencies, Part 2

    Now what happens if the dependency is not with respect to a regular API, but with a COM interface ? Suppose a COM interface IControl is implemented by CControl, in a dll DLL1. Now DLL2 obtains this CControl indirectly (for example, calling IControl* m_control = CoCreateInstance(...) with clsid==CLSID_CControl...
  • Blog Post: Servicing Dependencies, Part 1

    Suppose you have a huge product (such as Windows) for which fix bugs daily. These fixes need to ship through some mechanism (download central, Windows Update, etc.). Of course you can't re-distribute the whole OS every time you fix a one-line bug. Therefore you define components, which are sets of closely...
  • Blog Post: Windows 7 beta is available!!

    The Windows 7 beta is available for download, but only for the first 2.5 million users, so act fast!! Get yours now. Go to http://www.microsoft.com/windows7 for more info or download it here
Page 1 of 1 (14 items)