WinRar's "library" files

This is a discussion on WinRar's "library" files within the A Brief History of Cprogramming.com forums, part of the Community Boards category; WinRar has many files like rar.dat , zip.dat , bz2.dat , ect.. I opened them in Notepad++ to discover that ...

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

    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.
    A class that doesn't overload all operators just isn't finished yet. -- SmugCeePlusPlusWeenie
    A year spent in artificial intelligence is enough to make one believe in God. -- Alan J. Perlis

  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, 10:46 AM
  5. Multiple Cpp Files
    By w4ck0z in forum C++ Programming
    Replies: 5
    Last Post: 11-14-2005, 01:41 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21