UnRAR.dll is Windows dynamic-link library, which provides file extraction. from RAR archives. It is available both as 32-bit (unrar.dll) and 64-bit x64 (unrar64.dll) versions.

You can find samples of UnRAR.dll use in "Examples" folder. All samples except C sample (UnRDLL.c) are contributed by unrar.dll users. We at rarlab.com created and tested only UnRDLL.c sample.

Brief scenario of unrar.dll use includes the call of RAROpenArchiveEx to open an archive, RARReadHeaderEx to read archive headers, RARProcessFileW to process read header and RARCloseArchive to close the archive and free all previously allocated objects.

If you use this library in Unix, you may need to call setlocale(LC_CTYPE, "") in your application, so Unicode conversion functions work properly.

Please read the functions description and look into source code in "Examples" folder for more details.