Microsoft KB Archive/833659

= Binary file becomes corrupted if you use the UpdateResource functions to remove a resource from an application binary file =

Article ID: 833659

Article Last Modified on 8/29/2007

-

APPLIES TO


 * Microsoft Windows XP Professional for Itanium-based systems
 * Microsoft Windows XP Professional for Itanium-based systems
 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Datacenter Server
 * Microsoft Windows 2000 Professional Edition
 * Microsoft Windows 2000 Server

-





SYMPTOMS
When you use the following functions to remove a resource from an application binary file on Microsoft Windows XP or on Microsoft Windows 2000, the binary file may become corrupted:
 * BeginUpdateResource
 * UpdateResource
 * EndUpdateResource



Windows XP service pack information
To resolve this problem, obtain the latest service pack for Microsoft Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

322389 How to obtain the latest Windows XP service pack

Windows XP hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

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.

Windows XP
  Date         Time   Version        Size     File name 11-Feb-2004 17:51  5.1.2600.1342  930,304  Kernel32.dll

Windows XP, 64-Bit Edition
  Date         Time   Version        Size       File name      Platform -  11-Feb-2004  17:45  5.1.2600.1342  1,921,536  Kernel32.dll   IA-64 11-Feb-2004 17:51  5.1.2600.1342    882,176  Wkernel32.dll  x86

Windows 2000 hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Windows 2000 service pack that contains this hotfix.

To resolve this problem immediately, 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/contactus/?ws=support

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.

Windows 2000
  Date         Time   Version        Size       File name --  11-Feb-2004  16:46  5.0.2195.6824     42,256  Basesrv.dll 20-Sep-2003 19:45  5.0.2195.6824    236,304  Cmd.exe 11-Feb-2004 16:46  5.0.2195.6882    222,992  Gdi32.dll 11-Feb-2004 16:46  5.0.2195.6897    711,952  Kernel32.dll 11-Feb-2004 16:46  5.0.2195.6824     54,032  Mpr.dll 11-Feb-2004 16:46  5.0.2195.6895    334,608  Msgina.dll 11-Feb-2004 16:46  5.0.2195.6892     90,264  Rdpwd.sys 11-Feb-2004 16:46  5.0.2195.6891    380,688  User32.dll 11-Feb-2004 16:46  5.0.2195.6891    391,952  Userenv.dll 21-Jan-2004 14:48  5.0.2195.6892  1,630,256  Win32k.sys 10-Nov-2003 19:29  5.0.2195.6873    182,032  Winlogon.exe 11-Feb-2004 16:46  5.0.2195.6884    243,984  Winsrv.dll



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Microsoft Windows XP Service Pack 2.



MORE INFORMATION
For additional information, 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

Keywords: kbhotfixserver kbqfe kbwinxpsp2fix kbqfe kbwinxppresp2fix kbfix kbbug KB833659

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.