Spyware Sucks
“There is no magic fairy dust protecting Macs" – Dai Zovi, author of “The Mac Hacker’s Handbook"

In IE7 you cannot use an application to programmatically enumerate IE7 instances in a desktop other than the default desktop

September 26th 2007 in Uncategorized

This issue occurs because of a change in behavior in Internet Explorer 7.

In Internet Explorer 6, the ShellWindows object is associated with the following CLSID:

This object is a COM local server that exists for each desktop. When you use the CoCreate function to create a ShellWindows instance, the instance is bound to the server on the desktop where you create the instance. Therefore, the application can enumerate the Internet Explorer 6 windows in all desktops.

In Internet Explorer 7, the HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AppID\ subkey is added together with the RunAs registry entry. And the value of the RunAs registry entry is set to Interactive User. This change in behavior for Internet Explorer 7 causes the ShellWindows instance to be bound to the server on the default desktop even if you create the instance in other desktops.


Comments are closed.

Symptom 1
The POST method or the GET method may encode certain characters as Unicode numeric character references. For example, these methods may encode あ as %26% 2312354%3B.
This problem may occur in Web pages that contain Japanese characters. Additionally, the Web pages are marked with a charset of windows-31j in the HTTP headers.
Symptom 2
The POST […]

Previous Entry

My family and I are on holidays for a few weeks, so things will be quiet around here.  I am not planning to do any blogging until mid-October.
That being said, keep an eye on my blog; there is an announcement already written and scheduled to go live in my absence [;)]

Next Entry