Results 1 to 9 of 9

Thread: Interacting with the 7-zip Com dll

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    San Jose, Ca. - USA
    Posts
    302

    Interacting with the 7-zip Com dll

    Hey everyone,

    I'm a good vb programmer but know very little about c++, and I want to make an activex wrapper for the 7-zip COM dll. (7-zip is a compressor, much better than zip and rar)

    I've made wrappers for the zlib and bzip2 dlls before, but those two had very good documentation and I was able to find some good examples of it on the net. These dlls had exported functions, so the wrappers were pretty easy to make.

    7-zip has no documentation I can find and the author just suggests learning how to interact with COM dlls.

    Can anybody give any suggestions on how to go about doing this?
    Anyplace I can get some information about VB interacting with COM dlls (not activex)?

  2. #2
    KrisSiegel.com Kasracer's Avatar
    Join Date
    Jul 2003
    Location
    USA, Maryland
    Posts
    4,985
    I doubt it's better than rar, but have a look at bwtzip at www.nuwen.net

    It's a compressor that is just behind rar and it's source code is available for download, so you can check it out.

    I'd recommend not using the dll, then again I'm old fashioned.

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    San Jose, Ca. - USA
    Posts
    302
    Actually, I've done some testing and as long as you know which options to use 7-zip is on average around 10 to 15 percent better compression I'd say.

    Thanks for the heads up on bwtzip.

  4. #4
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    It has no documentation at all? Not even a list of objects and interfaces?

    Interacting with a COM dll is easy enough, but only if you know the interfaces.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    San Jose, Ca. - USA
    Posts
    302
    it is open source though, so somebody should be able to understand the interfaces.

    But thats where the rub is, the source is in c++ which I do not undersand.

  6. #6
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Learn it
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  7. #7
    yay gay PT Exorcist's Avatar
    Join Date
    Apr 2002
    Location
    . . . my reason of shame
    Posts
    2,729
    hmm..even if he started 24h per day learning c++ he would take weeks and months just to make that little project..
    \m/\m/

  8. #8
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    But it's an investment in the future

    How about giving us a link to that open source project?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Sep 2001
    Location
    San Jose, Ca. - USA
    Posts
    302

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width