RAR archives, opened with DELPHI series of procedures and extract it to a directory, how to achieve?
Get their own
example: winrar.exe e -y C: \ WINDOWS \ Desktop \ ghost.rar d: \
But new problems arose, if the user terminates the decompression process decompression, how can I tell the program whether unpack
the successful completion of! winrar abnormal termination of a decompression process will be issued abnormalities news?
Himself found out: after a successful operation returns 0 AR. Non-zero return code means that the operation was canceled due to some error:
255 user interrupts with interrupt operation
9 creates an error file creation error
8 memory errors is not enough memory to operate
7 user error error command-line options
6 Open Error opening file error
5 Disk write error write error
4 is locked compressed file attempts to modify the previously used '' k '' command to lock the archive
A CRC error occurred while de-compression 3 CRC error
2 fatal error a fatal error occurred
1 no warning fatal error
0 successful operation was successful (user exits)
Ha ha