Pack Level Is Not Preserved If You Use the #import Directive

Article translations Article translations
Article ID: 822550 - View products that this article applies to.
Notice
This hotfix is provided as an unmerged package. Therefore, this hotfix will not be included in any future product or service pack release. Currently, packages are only available for Microsoft Visual C++ 6.0, Microsoft Visual Studio .NET 2003, and Microsoft Visual Studio .NET 2003 Service Pack 1.

For additional information about the package for Visual C++ 6.0, click the following article number to view the article in the Microsoft Knowledge Base:
316971 Pack Level Is Not Preserved When You Use the #import Directive
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

SYMPTOMS

If you use the pragma pack directive in an Interface Definition Language (IDL) file, or if you use the /Zp, the /pack, or the /align midl compiler switch to change the structure member packing information that is stored in a type library, the pack level is not preserved if you use the #import directive to generate TLH and TLI files.

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) 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
   -----------------------------------------------------
   7-Jul-2003  17:39  13.10.3189.0  2,207,744  c1xx.dll
   8-Jul-2003  01:01  13.10.3189.0  1,961,984  Feacp.dll

STATUS

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

Properties

Article ID: 822550 - Last Review: February 27, 2014 - Revision: 1.6
APPLIES TO
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Academic Edition
Keywords: 
kbnosurvey kbarchive kbhotfixserver kbqfe kbqfe kbfix kbbug KB822550

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