FIX: MFC Automation Method Truncates 64-Bit Return Types

Article translations Article translations
Article ID: 328951 - View products that this article applies to.
This article was previously published under Q328951
This article has been archived. It is offered "as is" and will no longer be updated.


NOTE: The install package also installs symbols (.pdb) for the MFC DLLs and the static libraries.

Also note that the package is same as the package in Knowledge Base article 329066.
Expand all | Collapse all

SYMPTOMS

An MFC automation server that has a method that returns LONGLONG (VT_I8) or ULONGLONG (VT_UI8) truncates the high-order 32 bits before returning the value to the client.

RESOLUTION

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 Visual Studio .NET service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the fix. 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. The English version of this fix 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.
   Date         Time   Version        Size        File name
   -----------------------------------------------------------
   27-Sep-2002  03:21  7.0.9613.0      1,028,096  Mfc70.dll
   27-Sep-2002  02:36  7.0.9613.0      2,068,480  Mfc70d.dll
   27-Sep-2002  03:11  7.0.9613.0      1,016,832  Mfc70u.dll
   27-Sep-2002  02:38  7.0.9613.0      2,064,896  Mfc70ud.dll
   27-Sep-2002  02:37                  2,287,020  Mfc70.lib
   27-Sep-2002  02:36                  3,066,694  Mfc70d.lib
   27-Sep-2002  02:42                  3,042,324  Mfc70u.lib
   27-Sep-2002  02:40                  3,978,842  Mfc70ud.lib
   27-Sep-2002  02:32                 16,466,616  Nafxcw.lib
   27-Sep-2002  02:32                 16,601,758  Nafxcwd.lib
   27-Sep-2002  02:35                 16,741,970  Uafxcw.lib
   27-Sep-2002  02:34                 17,035,162  Uafxcwd.lib
   27-Sep-2002  17:28                    887,296  Vc_mfc.msm
   20-Sep-2002  00:18                     44,958  Oledisp1.cpp


				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

  • #import does not support 64-bit automation types.
  • COleVariant support for LONGLONG and ULONGLONG is not complete.

Properties

Article ID: 328951 - Last Review: October 26, 2013 - Revision: 1.4
APPLIES TO
  • Microsoft Foundation Class Library 4.2, when used with:
    • Microsoft Visual C++ .NET 2002 Standard Edition
Keywords: 
kbnosurvey kbarchive kbbug kbfix kbqfe kbautomation kbvsnetpresp1fix kbhotfixserver KB328951

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com