Thread: WinRar's "library" files

  1. #1
    Unregistered User Yarin's Avatar
    Join Date
    Jul 2007
    Posts
    2,158

    WinRar's "library" files

    WinRar has many files like rar.dat, zip.dat, bz2.dat, ect..
    I opened them in Notepad++ to discover that they are executable modules, and most likely dlls. And they have exports like compress and inflate;
    does anyone know how to use these files for my own handling of zip and rar ect files?
    I already used a dll export lister but I need to know how many arguments goto each function.

  2. #2
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Most likely they aren't publicly documented (I don't think WinRAR is open source).

    You can probably find out the number of arguments and how to call them with a bit of reverse engineering, but you obviously can't rely on that not chaning from one WinRAR version to the next [as these functions are part of the distribution, and not intended for external use].

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ressources files
    By mikahell in forum Windows Programming
    Replies: 4
    Last Post: 06-19-2006, 06:50 AM
  2. add source files to embedded VC 4.0
    By George2 in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2006, 03:28 AM
  3. *.cpp and *.h files understanding
    By ElastoManiac in forum C++ Programming
    Replies: 4
    Last Post: 06-11-2006, 04:45 AM
  4. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  5. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 02:41 PM