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

Article translations Article translations
Article ID: 316971 - View products that this article applies to.
This article was previously published under Q316971
Expand all | Collapse all

SYMPTOMS

When you use the pragma pack directive in an Interface Definition Language (IDL) file, or when you use the /Zp, /pack, or /align midl compiler switches to alter the structure member packing information stored in a type library, the pack level is not preserved when 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 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 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 typical support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

The English-language version of this fix should have the following file attributes or later:

Collapse this tableExpand this table
DateTimeVersionSizeNamePlatform
04-Feb-200218:1212.00.9496.01,220,659c1xx.dllx86

STATUS

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

Properties

Article ID: 316971 - Last Review: October 11, 2005 - Revision: 1.3
APPLIES TO
  • Microsoft Visual C++ 6.0 Service Pack 5
Keywords: 
kbhotfixserver kbqfe kbbug kbfix kbqfe KB316971
Retired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

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