Article ID: 316971 - View products that this article applies to.
This article was previously published under Q316971
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.
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=supportNOTE: 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
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
Article ID: 316971 - Last Review: October 11, 2005 - Revision: 1.3