Symptoms

Consider the following scenario:

  • You develop a Visual C++ Microsoft Foundation Class (MFC) application by using Microsoft Visual Studio 2008.

  • You run the application together with a UI Automation client, such as UISpy or Inspect.

  • You try to close the MFC application.

In this scenario, the application may freeze.

Resolution

This fix removes the CMFCComObject class so that the AfxOleLockApp method is no longer called. Therefore, the accessibility application or the Automation client is also closed automatically when the MFC application shuts down.

Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft website:

http://support.microsoft.com/contactus/?ws=supportNote 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.

Prerequisites

To apply this hotfix, you must have Visual Studio 2008 Service Pack 1 (SP1) installed.

Restart requirement

You do not have to restart the computer after you install the hotfix if the affected files are not being used at the time of installation. We recommend that you close all Visual Studio 2008-related components before you install the hotfix.

The global 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 item in Control Panel.

File name

File version

File size

Date

Time

Platform

Atl90.dll

9.0.30729.7523

416,912

17-Apr-2013

22:42

IA-64

Atl90.dll

9.0.30729.7523

177,296

17-Apr-2013

22:59

x64

Atl90.dll

9.0.30729.7523

159,888

18-Apr-2013

02:13

x86

Mfc90.dll

9.0.30729.7523

5,090,448

17-Apr-2013

22:59

x64

Mfc90.dll

9.0.30729.7523

3,768,976

18-Apr-2013

02:13

x86

Mfc90chs.dll

9.0.30729.7523

36,504

17-Apr-2013

22:59

x64

Mfc90chs.dll

9.0.30729.7523

36,504

18-Apr-2013

02:13

x86

Mfc90cht.dll

9.0.30729.7523

37,528

17-Apr-2013

22:59

x64

Mfc90cht.dll

9.0.30729.7523

37,528

18-Apr-2013

02:13

x86

Mfc90d.dll

9.0.30729.7523

7,428,752

17-Apr-2013

22:59

x64

Mfc90d.dll

9.0.30729.7523

5,941,392

18-Apr-2013

02:13

x86

Mfc90deu.dll

9.0.30729.7523

64,152

17-Apr-2013

22:59

x64

Mfc90deu.dll

9.0.30729.7523

64,152

18-Apr-2013

02:13

x86

Mfc90enu.dll

9.0.30729.7523

54,424

17-Apr-2013

22:59

x64

Mfc90enu.dll

9.0.30729.7523

54,424

18-Apr-2013

02:13

x86

Mfc90esn.dll

9.0.30729.7523

62,616

17-Apr-2013

22:59

x64

Mfc90esn.dll

9.0.30729.7523

62,616

18-Apr-2013

02:13

x86

Mfc90esp.dll

9.0.30729.7523

62,616

17-Apr-2013

22:59

x64

Mfc90esp.dll

9.0.30729.7523

62,616

18-Apr-2013

02:13

x86

Mfc90fra.dll

9.0.30729.7523

63,640

17-Apr-2013

22:59

x64

Mfc90fra.dll

9.0.30729.7523

63,640

18-Apr-2013

02:13

x86

Mfc90ita.dll

9.0.30729.7523

62,104

17-Apr-2013

22:59

x64

Mfc90ita.dll

9.0.30729.7523

62,104

18-Apr-2013

02:13

x86

Mfc90jpn.dll

9.0.30729.7523

44,184

17-Apr-2013

22:59

x64

Mfc90jpn.dll

9.0.30729.7523

44,184

18-Apr-2013

02:13

x86

Mfc90kor.dll

9.0.30729.7523

43,672

17-Apr-2013

22:59

x64

Mfc90kor.dll

9.0.30729.7523

43,672

18-Apr-2013

02:13

x86

Mfc90rus.dll

9.0.30729.7523

60,568

17-Apr-2013

22:59

x64

Mfc90rus.dll

9.0.30729.7523

60,568

18-Apr-2013

02:13

x86

Mfc90u.dll

9.0.30729.7523

5,109,392

17-Apr-2013

22:59

x64

Mfc90u.dll

9.0.30729.7523

3,784,336

18-Apr-2013

02:13

x86

Mfc90ud.dll

9.0.30729.7523

7,473,808

17-Apr-2013

22:59

x64

Mfc90ud.dll

9.0.30729.7523

5,986,448

18-Apr-2013

02:13

x86

Mfcm90.dll

9.0.30729.7523

67,072

17-Apr-2013

22:59

x64

Mfcm90.dll

9.0.30729.7523

59,904

18-Apr-2013

02:14

x86

Mfcm90d.dll

9.0.30729.7523

93,184

17-Apr-2013

22:59

x64

Mfcm90d.dll

9.0.30729.7523

80,896

18-Apr-2013

02:14

x86

Mfcm90u.dll

9.0.30729.7523

67,072

17-Apr-2013

22:59

x64

Mfcm90u.dll

9.0.30729.7523

59,904

18-Apr-2013

02:14

x86

Mfcm90ud.dll

9.0.30729.7523

93,696

17-Apr-2013

22:59

x64

Mfcm90ud.dll

9.0.30729.7523

80,896

18-Apr-2013

02:14

x86

Mfcmifc80u.dll

9.0.30729.7523

13,976

23-Apr-2013

03:55

x86

Microsoft.visualc.stlclr.dll

9.0.30729.7523

48,824

23-Apr-2013

03:55

x86

Msvcm90.dll

9.0.30729.7523

324,096

17-Apr-2013

22:42

IA-64

Msvcm90.dll

9.0.30729.7523

245,760

17-Apr-2013

22:59

x64

Msvcm90.dll

9.0.30729.7523

225,280

18-Apr-2013

02:14

x86

Msvcm90d.dll

9.0.30729.7523

429,568

17-Apr-2013

22:42

IA-64

Msvcm90d.dll

9.0.30729.7523

333,312

17-Apr-2013

22:59

x64

Msvcm90d.dll

9.0.30729.7523

312,832

18-Apr-2013

02:14

x86

Msvcp90.dll

9.0.30729.7523

1,467,024

17-Apr-2013

22:42

IA-64

Msvcp90.dll

9.0.30729.7523

854,160

17-Apr-2013

22:59

x64

Msvcp90.dll

9.0.30729.7523

570,512

18-Apr-2013

02:13

x86

Msvcp90d.dll

9.0.30729.7523

2,516,120

17-Apr-2013

22:42

IA-64

Msvcp90d.dll

9.0.30729.7523

1,121,432

17-Apr-2013

22:59

x64

Msvcp90d.dll

9.0.30729.7523

873,112

18-Apr-2013

02:13

x86

Msvcr90.dll

9.0.30729.7523

1,506,448

17-Apr-2013

22:42

IA-64

Msvcr90.dll

9.0.30729.7523

642,192

17-Apr-2013

22:59

x64

Msvcr90.dll

9.0.30729.7523

653,968

18-Apr-2013

02:13

x86

Msvcr90d.dll

9.0.30729.7523

3,604,120

17-Apr-2013

22:42

IA-64

Msvcr90d.dll

9.0.30729.7523

1,360,024

17-Apr-2013

22:59

x64

Msvcr90d.dll

9.0.30729.7523

1,179,288

18-Apr-2013

02:13

x86

Vcomp90.dll

9.0.30729.7523

142,480

17-Apr-2013

22:42

IA-64

Vcomp90.dll

9.0.30729.7523

57,488

17-Apr-2013

22:59

x64

Vcomp90.dll

9.0.30729.7523

51,856

18-Apr-2013

02:13

x86

Vcomp90d.dll

9.0.30729.7523

317,080

17-Apr-2013

22:42

IA-64

Vcomp90d.dll

9.0.30729.7523

105,624

17-Apr-2013

22:59

x64

Vcomp90d.dll

9.0.30729.7523

89,240

18-Apr-2013

02:13

x86

Vcomp90ui.dll

9.0.30729.7523

11,416

23-Apr-2013

03:55

x86

Vcredist_ia64.exe

9.0.30729.7039

4,682,336

22-Apr-2013

16:27

x86

Vcredist_x64.exe

9.0.30729.7039

5,237,856

22-Apr-2013

16:09

x86

Vcredist_x86.exe

9.0.30729.7039

4,501,088

22-Apr-2013

16:44

x86

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.