Saturday, August 28, 2004

Re-appearance of GDI bug in XP SP2

[Updated 19.9.2004] Windows XP RTM had a bug in the Theme service which caused GDI handles to leak. My newsreader (Turnpike) suffered from this. The bug was resolved in KB 319740 and rolled into XP SP1. This bug has re-surfaced in the RTM version of SP2. The version of %systemroot%\system32\uxtheme.dll shipped with SP2 did not contain the necessary bug fix. The fix is straightforward. First you must obtain the copy of uxtheme from XP SP1. This is file version 6.00.2600.34. But check your system - if you are running this version then you do not suffer from this issue. If you have file version 6.0.2900.2180, then you need to install the fix as follows:
  1. Reboot your system into Safe Mode.
  2. Open c:\windows\system32 and re-check the version of uxtheme.dll.
  3. Copy the 6.00.2600.34 version uxtheme.dll (the version from SP1) %systemroot%\system32.
  4. Restart the computer.
  5. After restarting, ensure the current uxtheme.dll file version in %systemroot\system32 is 6.00.2600.34.

No comments: