Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFPCompression.fll using Callback
Message
De
27/08/2012 12:37:44
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01551296
Message ID:
01551548
Vues:
64
>>>Yes, I do have the file size which is 3,857,493,504.
>>>But during encryption it reads until 10,772,236,288
>>>
>>>That is what still causes me trouble, maybe I miss something.
>>
>>You are right! Sorry.
>>
>>The correct computation is:
>>
>>* start
>>n4GB = 0
>>nSign = 1
>>
>>*EXECUTE
>>IF m.nSign#SIGN(m.nZipBytes)
>>	IF m.nSign=1 AND SIGN(m.nZipBytes)=-1
>>		n4GB = m.n4GB + 4294967296
>>	ENDIF
>>	nSign= SIGN(m.nZipBytes)
>>ENDIF
>>
>>nZipped = m.nZipBytes + m.n4GB
>>
>>zipRatio = m.nZipped / m.fileSize
>>
>
>Like a charm, thanks for your great help!

You're welcome.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform