Sign in with Microsoft
New to Microsoft? Create an account.

Symptoms

Assume that you develop a Visual C++ Microsoft Foundation Class (MFC) application by using Microsoft Visual Studio 2010. The application implicitly or explicitly loads additional DLLs during the CRT_INIT phase of MFC DLL initialization. You try to run the application in Windows 8. In this situation, the module state becomes corrupted. Additionally, the application may crash, and you receive an access violation exception.

Resolution

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 2010 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 2010-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

Atl100.dll

10.0.40219.447

138,896

10-Apr-2013

09:34

x86

Atl100.dll

10.0.40219.447

386,192

10-Apr-2013

09:40

IA-64

Atl100.dll

10.0.40219.447

159,376

10-Apr-2013

10:12

x64

Mfc100.dll

10.0.40219.447

5,579,920

10-Apr-2013

10:12

x64

Mfc100.dll

10.0.40219.447

4,400,784

10-Apr-2013

10:37

x86

Mfc100chs.dll

10.0.40219.447

37,016

10-Apr-2013

10:12

x64

Mfc100chs.dll

10.0.40219.447

37,016

10-Apr-2013

10:37

x86

Mfc100cht.dll

10.0.40219.447

37,016

10-Apr-2013

10:12

x64

Mfc100cht.dll

10.0.40219.447

37,016

10-Apr-2013

10:37

x86

Mfc100d.dll

10.0.40219.447

9,144,464

10-Apr-2013

11:11

x64

Mfc100d.dll

10.0.40219.447

7,064,208

10-Apr-2013

11:31

x86

Mfc100deu.dll

10.0.40219.447

65,176

10-Apr-2013

10:12

x64

Mfc100deu.dll

10.0.40219.447

65,176

10-Apr-2013

10:37

x86

Mfc100enu.dll

10.0.40219.447

55,960

10-Apr-2013

10:12

x64

Mfc100enu.dll

10.0.40219.447

55,960

10-Apr-2013

10:37

x86

Mfc100esn.dll

10.0.40219.447

64,664

10-Apr-2013

10:12

x64

Mfc100esn.dll

10.0.40219.447

64,664

10-Apr-2013

10:37

x86

Mfc100fra.dll

10.0.40219.447

65,176

10-Apr-2013

10:12

x64

Mfc100fra.dll

10.0.40219.447

65,176

10-Apr-2013

10:37

x86

Mfc100ita.dll

10.0.40219.447

63,128

10-Apr-2013

10:12

x64

Mfc100ita.dll

10.0.40219.447

63,128

10-Apr-2013

10:37

x86

Mfc100jpn.dll

10.0.40219.447

44,696

10-Apr-2013

10:12

x64

Mfc100jpn.dll

10.0.40219.447

44,696

10-Apr-2013

10:37

x86

Mfc100kor.dll

10.0.40219.447

44,184

10-Apr-2013

10:12

x64

Mfc100kor.dll

10.0.40219.447

44,184

10-Apr-2013

10:37

x86

Mfc100rus.dll

10.0.40219.447

61,592

10-Apr-2013

10:12

x64

Mfc100rus.dll

10.0.40219.447

61,592

10-Apr-2013

10:37

x86

Mfc100u.dll

10.0.40219.447

5,606,032

10-Apr-2013

10:12

x64

Mfc100u.dll

10.0.40219.447

4,425,872

10-Apr-2013

10:37

x86

Mfc100ud.dll

10.0.40219.447

9,220,760

10-Apr-2013

11:11

x64

Mfc100ud.dll

10.0.40219.447

7,132,824

10-Apr-2013

11:31

x86

Mfcm100.dll

10.0.40219.447

93,840

10-Apr-2013

10:12

x64

Mfcm100.dll

10.0.40219.447

82,576

10-Apr-2013

10:37

x86

Mfcm100d.dll

10.0.40219.447

120,472

10-Apr-2013

11:11

x64

Mfcm100d.dll

10.0.40219.447

104,600

10-Apr-2013

11:31

x86

Mfcm100u.dll

10.0.40219.447

93,848

10-Apr-2013

10:12

x64

Mfcm100u.dll

10.0.40219.447

82,584

10-Apr-2013

10:37

x86

Mfcm100ud.dll

10.0.40219.447

122,008

10-Apr-2013

11:11

x64

Mfcm100ud.dll

10.0.40219.447

106,136

10-Apr-2013

11:31

x86

Mfcmifc80u.dll

10.0.40219.447

13,976

11-Apr-2013

05:02

x86

Msvcp100.dll

10.0.40219.447

422,040

10-Apr-2013

09:34

x86

Msvcp100.dll

10.0.40219.447

967,320

10-Apr-2013

09:40

IA-64

Msvcp100.dll

10.0.40219.447

608,920

10-Apr-2013

10:12

x64

Msvcp100d.dll

10.0.40219.447

1,980,056

10-Apr-2013

10:55

IA-64

Msvcp100d.dll

10.0.40219.447

1,015,448

10-Apr-2013

11:14

x64

Msvcp100d.dll

10.0.40219.447

744,600

10-Apr-2013

11:35

x86

Msvcr100.dll

10.0.40219.447

774,296

10-Apr-2013

09:34

x86

Msvcr100.dll

10.0.40219.447

1,500,312

10-Apr-2013

09:40

IA-64

Msvcr100.dll

10.0.40219.447

830,104

10-Apr-2013

10:12

x64

Msvcr100d.dll

10.0.40219.447

3,764,888

10-Apr-2013

10:55

IA-64

Msvcr100d.dll

10.0.40219.447

1,874,072

10-Apr-2013

11:14

x64

Msvcr100d.dll

10.0.40219.447

1,506,456

10-Apr-2013

11:35

x86

Vcomp100.dll

10.0.40219.447

144,536

10-Apr-2013

09:40

IA-64

Vcomp100.dll

10.0.40219.447

59,032

10-Apr-2013

10:12

x64

Vcomp100.dll

10.0.40219.447

52,376

10-Apr-2013

10:37

x86

Vcomp100d.dll

10.0.40219.447

318,616

10-Apr-2013

10:51

IA-64

Vcomp100d.dll

10.0.40219.447

108,696

10-Apr-2013

11:07

x64

Vcomp100d.dll

10.0.40219.447

89,752

10-Apr-2013

11:28

x86

Vcomp100ui.dll

10.0.40219.447

10,392

11-Apr-2013

05:02

x86

Vcomp100ui.dll

10.0.40219.447

10,904

11-Apr-2013

05:02

x86

Vcomp100ui.dll

10.0.40219.447

11,928

11-Apr-2013

05:02

x86

Vcomp100ui.dll

10.0.40219.447

12,440

11-Apr-2013

05:02

x86

Vcredist_ia64.exe

10.0.40219.447

3,049,576

10-Apr-2013

12:30

x86

Vcredist_x64.exe

10.0.40219.447

10,287,200

10-Apr-2013

12:38

x86

Vcredist_x86.exe

10.0.40219.447

9,011,808

10-Apr-2013

12:41

x86


Status

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

References

For more information about the DllMain entry point, go to the following MSDN website:

General information about the DllMain entry pointFor more information about the best practices for creating DLLs, go to the following MSDN website:

General information about the best practices for creating DLLs

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×