Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: The MFC source file Oleui2.cpp is not updated when you install security update MS07-012


View products that this article applies to.

Symptoms

When you install security update MS07-012, the Microsoft Foundation Classes (MFC) source file (Oleui2.cpp) is not updated on the computer. The Oleui2.cpp file is located in the following folder:
Drive:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\Atlmfc\Src\Mfc
Because MFC is included with the Oleui2.cpp file, and because a user can freely recompile the MFC libraries from the Oleui2.cpp file, the file must be updated.

To verify this problem, view the Modified property and the Size property of the Oleui2.cpp file. If the file size is 4,131 bytes, or if the value of the Modified property is July 12, 2002, the earlier version of the Oleui2.cpp file is installed. We recommend that you install the updated Oleui2.cpp file.

↑ Back to the top


Cause

This problem occurs because security update MS07-012 does not include the Oleui2.cpp file. The security update includes only the updated versions of the compiled MFC libraries.

↑ Back to the top


Resolution

To resolve this problem, install the updated Oleui2.cpp file on the computer. To do this, follow these steps:
  1. Download the updated Oleui2.cpp file.

    The following file is available for download from the Microsoft Download Center:
    Release Date: February 21, 2007

    For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:
    119591� How to obtain Microsoft support files from online services
    Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.
  2. Copy the updated Oleui2.cpp file to the following folder on the computer:
    Drive:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\Atlmfc\Src\Mfc
Notes
  • You must install the updated Oleui2.cpp file to the specified folder "before" you recompile the MFC libraries. For example, you must install the updated Oleui2.cpp file if you want to use Microsoft Layer for Unicode (MSLU).
  • The only MFC source file that is updated for this security update is the Oleui2.cpp file. All other source files are updated to the latest version when you install Microsoft Visual Studio .NET 2003 Service Pack 1.

↑ Back to the top


Status

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

↑ Back to the top


More information

For more information about security update MS07-012, click the following article number to view the article in the Microsoft Knowledge Base:
927696� Description of the security update for the Visual Studio .NET 2003 Service Pack 1 development platform
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684� Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kbbug, kbsecurity, kbfix, atdownload, kbqfe, kbexpertiseinter, kbexpertisebeginner, kbprb, KB933273

↑ Back to the top

Article Info
Article ID : 933273
Revision : 3
Created on : 2/21/2007
Published on : 2/21/2007
Exists online : False
Views : 480