Windows Common Controls 5.0: Comctl32.ocxConsider the following scenario.
- You are running an application that sets a WinEvent hook on Microsoft Windows 2000 or a later operating system version.
- You start an application that uses the ListView control or the TreeView control from Microsoft Windows Common Controls 5.0.
The instruction at "0x202d0f51" referenced memory at "0x40000001". The memory could not be "written". Click on OK to terminate the program
Windows Common Controls 6.0: Mscomctl.ocxIf you are running an application that uses Mscomctl.ocx version 126.96.36.199 or a later version and the application contains a ListView control with the AllowColumnReorder property set to True, you receive the following error message when you try to reorder the columns:
The instruction at "0x27618848" referenced memory at "0x016e1e90". The memory could not be "read".
Note If you run your application in the Visual Basic 6 IDE, you will also experience both of these problems.
The problem with Windows Common Controls 6.0 occurs because of a change in version 188.8.131.52 of the Mscomctl.ocx file. Version 184.108.40.206 is included with hotfix 826287. Version 220.127.116.11 of the Mscomctl.ocx file changes the behavior of the ListView control when Visual Studio 6.0 is running on a computer that is running Windows XP or a later operating system. Most of the ImageList control calls in Mscomctl.ocx are wrappers of calls into the ImageList shell common control class that is defined in Comctl32.dll. However, the ImageList_GetImageRect method is not wrapped. This method still uses the earlier version of the ImageList structure and the earlier version of the ImageList control class that are defined in the Mscomctl.ocx file. This design causes a divide-by-zero error to occur during the column reorder operation.
Note The enclosed fix cannot be uninstalled or removed after it is installed.
The following file is available for download from the Microsoft Download Center:
Download the Visual Basic 6.0 Common Controls package now.For more information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
A supported fix is available from Microsoft for Visual Basic 6 SP6.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
Date Time Version Size File name
18-Aug-2003 20:25 18.104.22.168 1,344,512 Comctl32.ocx
02-Nov-2004 00:16 22.214.171.124 1,064,208 Mscomctl.ocx
Article ID: 896559 - Last Review: May 5, 2017 - Revision: 5