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)…


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 / FAT32 file systems) 1 -…

13

Remote Assistance and UAC prompts

Recently, I received some e-mail sent to one of our internal DLs describing an issue a customer is facing when using Remote Assistance: My customers engineer requests to connect to a user’s machine via remote assistance. The user accepts and the engineer requests to take control. The user ticks the box to allow the engineer…

4

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…


Sync Center hanging and crashing because of DpoFeedb

0:005> ~2sDpoFeedb!get_lastknownversion+0xd382:00000000`1002f812 0f8418feffff    je      DpoFeedb!get_lastknownversion+0xd1a0 (00000000`1002f630) [br=1]0:002> pDpoFeedb!get_lastknownversion+0xd1a0:00000000`1002f630 488b02          mov     rax,qword ptr [rdx] ds:00000000`0296dec8=000000000296dec00:002> DpoFeedb!get_lastknownversion+0xd1a3:00000000`1002f633 488b4808        mov     rcx,qword ptr [rax+8] ds:00000000`0296dec8=000000000296dec00:002> DpoFeedb!get_lastknownversion+0xd1a7:00000000`1002f637 483b01          cmp     rax,qword ptr [rcx] ds:00000000`0296dec0=000000000296dec00:002> DpoFeedb!get_lastknownversion+0xd1aa:00000000`1002f63a 0f85e7000000    jne     DpoFeedb!get_lastknownversion+0xd297 (00000000`1002f727) [br=0]0:002> DpoFeedb!get_lastknownversion+0xd1b0:00000000`1002f640 4c8b4910        mov     r9,qword ptr [rcx+10h] ds:00000000`0296ded0=000000000296dec00:002> DpoFeedb!get_lastknownversion+0xd1b4:00000000`1002f644 4180794800      cmp     byte ptr [r9+48h],0 ds:00000000`0296df08=000:002> DpoFeedb!get_lastknownversion+0xd1b9:00000000`1002f649 7520            jne     DpoFeedb!get_lastknownversion+0xd1db (00000000`1002f66b) [br=0]0:002> DpoFeedb!get_lastknownversion+0xd1bb:00000000`1002f64b…


The case of the very annoying hpqtra08.exe

I recently bought an HP dv7t laptop and also got one of those HP multi-function printers. So far so good. After installing the printer’s drivers and apps, I noticed a significant slowdown. Opened up taskmgr and lo and behold, hpqtra08.exe was taking up 100% of my cpu. I debugged it and it seemed to be…

3

Hello w0rld

The purpose of this blog is to write about my work as a developer in the Windows Serviceability organization, more specifically in the Client Platform team. My org’s main responsibility is fixing bugs in the currently released version of Windows, currently Vista and Server 2008. My team’s focus areas include printing, scanning, the graphics platform,…

1