By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,058 Members | 1,213 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,058 IT Pros & Developers. It's quick & easy.

VB6 SP6 BUGS: MSComCtl Listview control cashes - REPOST

P: n/a
Reposted as the original is reported as deleted from the server.
re: MSComCtl Listview control cashes after installing VB6/VS6 SP6

I have been advised that this problem has been reproduced and a hotfix has
been prepared. The supporting KB article and hotfix download link have yet
to be posted, but I can provide you with the following information for those
requiring an immediate fix:

"If a customer needs the hotfix immediately they can open a call with
Microsoft Product Support Services (PSS) and request the hotfix by
referencing the not-yet public KB "841999 FIX: MSComCtl Listview control
cashes C0000004 (Div by Zero crash)".

Normally contacting PSS costs $195 US ... it is my understanding that calls
requesting hotfixes for identified issues are free.

I will post the URL to the KB and the downloadable hotfix once it has been
posted on the MS site.

--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.
Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Randy,

Thanks for the info - I was finally able to get the HOTFIX from
Microsoft like you said - the original support rep didn't seem to know
much about it but I called back and quoted this post and it lead to a
resolution. Just to let you know that they are suppose to post this
on the Microsoft Website as a supported hotfix this week - here is the
info that was emailed to me....

----------------------------------------------------------------------------
FIX: MSCOMCTL.OCX Listview control cashes 0xC0000004 (Div by Zero
crash) WGID:248
ID: 841999.KB.EN-US CREATED: 2004-05-06 MODIFIED: 2004-10-18

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Visual Studio 6.0 (Version: 6.0)
- Microsoft Visual Basic Professional Edition for Windows 6.0
(Version: 6.0)
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 (Version:
6.0)
- Microsoft Visual Basic Learning Edition for Windows 6.0 (Version:
6.0)

-------------------------------------------------------------------------------

SYMPTOMS
========

When you are using Microsoft Visual Studio 6.0 Service Pack
6 (SP6) or an application that was created by using Visual Studio 6.0
SP6, the compiled application or the Visual Studio IDE quits
unexpectedly
if you reorder the columns in the ListView control.

This problem occurs if your Mscomctl.ocx file
is one of the following versions:
- 6.1.97.64 - This version is included with the hotfix
for 826287. For additional information about this hotfix, click the
following article number to
view the article in the Microsoft Knowledge Base:

KBLink:826287.KB.[LN]: FIX: ImageList control from Mscomctl.ocx may not
work correctly on Windows XP or later -

- 6.1.97.82 - This version is included with the Retail release version
of Visual Studio 6.0 SP6.
Note This problem occurs only on Microsoft Windows XP and later
operating systems.

CAUSE
=====

The hotfix that is described in Microsoft Knowledge Base
article 826287 changes the behavior for the ListView control when
Visual Studio 6.0 is running on Windows XP or on a later version of the
operating system.
Most of the ImageList control calls in Mscomctl.ocx are wrappers calls
into
the ImageList Shell Common Control class 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
Mscomctl.ocx. This design causes a
divide-by-zero error to occur during the column reorder
operation.

RESOLUTION
==========

Hotfix information
------------------
A
supported hotfix is now available from Microsoft, but it is only
intended to
correct the problem that this article describes. Apply it only to
systems that
are experiencing this specific problem.

Note You must have a Visual Studio license agreement to obtain this
hotfix.

To resolve this problem, contact Microsoft Product Support Services to
obtain the hotfix. For a complete list of Microsoft Product Support
Services phone numbers and information about support costs, visit the
following
Microsoft Web site:

http://support.microsoft.com/default...EN-US;CNTACTMS

Note In special cases, charges that are ordinarily incurred for support
calls may be canceled if a Microsoft Support Professional determines
that a specific update will resolve your problem. The usual support
costs will apply to additional support questions and issues that do not
qualify for the specific update in question.
File information
The English version of this hotfix has the file
attributes (or later) 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 Platform
-------------------------------------------------------------------
06/04/2004 11:21 AM 6.1.97.85 1,032,464 mscomctl.ocx x86

STATUS
======

Microsoft has confirmed that this is a problem in the Microsoft
products that are listed in the "Applies to" section. This bug was
introduced in Mscomctl.ocx file version 6.1.97.64 that is included with
the hotfix
826287.

MORE INFORMATION
================

For additional information, click the following article number to view
the article in the Microsoft Knowledge Base:

KBLink:824684.KB.[LN]: Description of the standard terminology that is
used to describe Microsoft software updates
----------------------------------------------------------------------------

Jul 17 '05 #2

P: n/a
Randy,

Thanks for the info - I was finally able to get the HOTFIX from
Microsoft like you said - the original support rep didn't seem to know
much about it but I called back and quoted this post and it lead to a
resolution. Just to let you know that they are suppose to post this
on the Microsoft Website as a supported hotfix this week - here is the
info that was emailed to me....

----------------------------------------------------------------------------
FIX: MSCOMCTL.OCX Listview control cashes 0xC0000004 (Div by Zero
crash) WGID:248
ID: 841999.KB.EN-US CREATED: 2004-05-06 MODIFIED: 2004-10-18

-------------------------------------------------------------------------------
The information in this article applies to:

- Microsoft Visual Studio 6.0 (Version: 6.0)
- Microsoft Visual Basic Professional Edition for Windows 6.0
(Version: 6.0)
- Microsoft Visual Basic Enterprise Edition for Windows 6.0 (Version:
6.0)
- Microsoft Visual Basic Learning Edition for Windows 6.0 (Version:
6.0)

-------------------------------------------------------------------------------

SYMPTOMS
========

When you are using Microsoft Visual Studio 6.0 Service Pack
6 (SP6) or an application that was created by using Visual Studio 6.0
SP6, the compiled application or the Visual Studio IDE quits
unexpectedly
if you reorder the columns in the ListView control.

This problem occurs if your Mscomctl.ocx file
is one of the following versions:
- 6.1.97.64 - This version is included with the hotfix
for 826287. For additional information about this hotfix, click the
following article number to
view the article in the Microsoft Knowledge Base:

KBLink:826287.KB.[LN]: FIX: ImageList control from Mscomctl.ocx may not
work correctly on Windows XP or later -

- 6.1.97.82 - This version is included with the Retail release version
of Visual Studio 6.0 SP6.
Note This problem occurs only on Microsoft Windows XP and later
operating systems.

CAUSE
=====

The hotfix that is described in Microsoft Knowledge Base
article 826287 changes the behavior for the ListView control when
Visual Studio 6.0 is running on Windows XP or on a later version of the
operating system.
Most of the ImageList control calls in Mscomctl.ocx are wrappers calls
into
the ImageList Shell Common Control class 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
Mscomctl.ocx. This design causes a
divide-by-zero error to occur during the column reorder
operation.

RESOLUTION
==========

Hotfix information
------------------
A
supported hotfix is now available from Microsoft, but it is only
intended to
correct the problem that this article describes. Apply it only to
systems that
are experiencing this specific problem.

Note You must have a Visual Studio license agreement to obtain this
hotfix.

To resolve this problem, contact Microsoft Product Support Services to
obtain the hotfix. For a complete list of Microsoft Product Support
Services phone numbers and information about support costs, visit the
following
Microsoft Web site:

http://support.microsoft.com/default...EN-US;CNTACTMS

Note In special cases, charges that are ordinarily incurred for support
calls may be canceled if a Microsoft Support Professional determines
that a specific update will resolve your problem. The usual support
costs will apply to additional support questions and issues that do not
qualify for the specific update in question.
File information
The English version of this hotfix has the file
attributes (or later) 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 Platform
-------------------------------------------------------------------
06/04/2004 11:21 AM 6.1.97.85 1,032,464 mscomctl.ocx x86

STATUS
======

Microsoft has confirmed that this is a problem in the Microsoft
products that are listed in the "Applies to" section. This bug was
introduced in Mscomctl.ocx file version 6.1.97.64 that is included with
the hotfix
826287.

MORE INFORMATION
================

For additional information, click the following article number to view
the article in the Microsoft Knowledge Base:

KBLink:824684.KB.[LN]: Description of the standard terminology that is
used to describe Microsoft software updates
----------------------------------------------------------------------------

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.