View Full Version : The calculation of the decompressed data
Realtech_Redux
10-01-2017, 13:49
For English-speaking users:
Hello, you can implement the calculation of the decompressed data in megabytes. Example (238 MB Uncompressed from 9405 MB)?
P.S I know that my English is very bad. Don't hurt me please! :)
(IsDone 0.6 Final)
yes! but you have to create a freearc .dll to do it :p
you can use this instead:
http://freearc.org/InnoSetup.aspx
it got feature build in.
or if u want, you can use
total size * current progress / 1000 // under Progresscallback, variable names may be wrong
and u will get the uncompressed size
Gupa
The question was about isDone seems to me :rolleyes:
RINA
May Be it should be "Gupta" , " Prince Gupta". :rolleyes:
and ProgressCallback is isdone function and i think, CurrentPct of total size will give u current uncompressed size, i think
May Be it should be "Gupta" , " Prince Gupta". :rolleyes:
and ProgressCallback is isdone function and i think, CurrentPct of total size will give u current uncompressed size, i think
ok Gupa you're right http://fileforums.com/images/icons/icon14.gif
felice2011
13-01-2017, 07:08
Ha Ha Ha..what a mess I hope ye have agreed.:p
ma chi la sciolto :eek:
ok ok PrinceGupta2000 sorry ahah!
Razor12911
16-01-2017, 00:07
function GetCompressedSize(Archive: String): Integer;
external 'GetCompressedSize@files:arcsize.dll cdecl';
function GetOriginalSize(Archive: String): Integer;
external 'GetOriginalSize@files:arcsize.dll cdecl';
or as said, needed a library http://fileforums.com/images/icons/icon14.gif
Realtech_Redux
16-01-2017, 06:00
Error
http://i.imgur.com/fjm3WUO.png
Razor12911
16-01-2017, 07:24
Looks like you forgot something.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.