Microsoft KB Archive/894084

= FIX: Files that are pasted in Windows Explorer may contain the same data when you have multiple file streams in an MFC-based application that was written in Visual C++ .NET =

Article ID: 894084

Article Last Modified on 5/15/2006

-

APPLIES TO


 * Microsoft Visual C++ .NET 2003 Standard Edition

-





SYMPTOMS
When you use the CFSTR_FILECONTENT Clipboard format in a Microsoft Foundation Classes (MFC) based application that was written in Microsoft Visual C++ .NET 2003, the COleDataSource::CacheData function may not work correctly when you have multiple file streams.

The following conditions may occur:
 * You set up an array of multiple file streams.
 * You copy the file streams to the Clipboard.
 * You locate an appropriate target folder in Windows Explorer.
 * You paste the file streams in the folder.

When you do this, all files that are contained in the new folder may contain the same data as the last file stream that was added to the structure.



RESOLUTION
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.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone 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.

The English 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 tool in Control Panel.   Date         Time   Version      Size        File name -  01-Feb-2005  21:39                   51,954  Atldload.lib 01-Feb-2005 21:41                  319,058  Eafxis.lib 01-Feb-2005 21:41                  309,488  Eafxisd.lib 01-Feb-2005 21:45                  418,199  Mfc71.def 01-Feb-2005 21:45  7.10.2199.0   1,056,768  Mfc71.dll 01-Feb-2005 21:45                  875,710  Mfc71.exp 01-Feb-2005 21:46                2,580,010  Mfc71.lib 01-Feb-2005 21:44                  553,916  Mfc71d.def 01-Feb-2005 21:44  7.10.2199.0   2,183,168  Mfc71d.dll 01-Feb-2005 21:44                1,161,547  Mfc71d.exp 01-Feb-2005 21:45                3,361,062  Mfc71d.lib 01-Feb-2005 21:48                  419,296  Mfc71u.def 01-Feb-2005 21:48  7.10.2199.0   1,037,312  Mfc71u.dll 01-Feb-2005 21:48                  877,885  Mfc71u.exp 01-Feb-2005 21:49                3,348,140  Mfc71u.lib 01-Feb-2005 21:46                  555,223  Mfc71ud.def 01-Feb-2005 21:46  7.10.2199.0   2,179,072  Mfc71ud.dll 01-Feb-2005 21:46                1,164,138  Mfc71ud.exp 01-Feb-2005 21:48                4,287,960  Mfc71ud.lib 01-Feb-2005 21:39                   96,278  Mfcdload.lib 01-Feb-2005 21:46                  561,656  Mfcs71.lib 01-Feb-2005 21:45                  582,202  Mfcs71d.lib 01-Feb-2005 21:49                  490,096  Mfcs71u.lib 01-Feb-2005 21:48                  507,656  Mfcs71ud.lib 01-Feb-2005 21:41               16,915,758  Nafxcw.lib 01-Feb-2005 21:41               17,046,344  Nafxcwd.lib 01-Feb-2005 21:41                  128,730  Nafxis.lib 01-Feb-2005 21:41                  132,102  Nafxisd.lib 01-Feb-2005 21:44               17,214,168  Uafxcw.lib 01-Feb-2005 21:43               17,438,444  Uafxcwd.lib 28-Apr-2004 07:34                   14,546  Atl.lib 27-Apr-2004 23:16                   61,290  Atlmincrt.lib 27-Apr-2004 23:16                1,199,698  Atls.lib 27-Apr-2004 23:16                1,240,650  Atlsd.lib 20-Sep-2003 20:23                   32,196  Msxml2.lib



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
For more 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: kbtshoot kbbug kbfix kbhotfixserver KB894084

-

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

© Microsoft Corporation. All rights reserved.