This is a simple example of the UNRAR.DLL library usage. To build UNRDLL.EXE you need to compile UNRDLL.C as 32-bit Windows console application. Do not forget put UNRAR.H to the current directory.