The information in this article applies to:
SYMPTOMSWhen compressing data using Fci.lib from the Cabinet (CAB) SDK, a new cabinet file is started after about 134 MB of data has been compressed. CAUSEFci.h contains an incorrect definition for CB_MAX_DISK. The value is defined as 0x7FFFFFFL (134,217,727) instead of 0x7FFFFFFFL (2,147,483,647) as it should be. CB_MAX_DISK is also defined incorrectly in this way in Fdi.h. RESOLUTIONRedefine CB_MAX_DISK to the correct value of 0x7FFFFFFFL:
MORE INFORMATION
Specifying a value of 0 for disk size (cb value in CCAB struct) resets the
value to CB_MAX_DISK. However, CB_MAX_DISK is defined incorrectly as
0x7FFFFFFL or 134,217,727. It should be 0x7FFFFFFFL, or 2,147,483,647. Data
compression proceeds to about 134 Mb, then it switches to a new cabinet.
The desired result of a larger cabinet (CAB) can be obtained by explicitly
supplying the correct larger value.
REFERENCESFor more information, please see the MSDN Web Workshop: http://msdn.microsoft.com/workshop/default.asp Additional query words:
Keywords : kbIE500 InetSDKCAB |
Last Reviewed: April 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |