[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 704
  • Last Modified:

how do I use pkzips implode.dll from within visual basic 6

Does anybody know of an examples of how to use pkwares implode.dll to compress a couple of files into a zip archive using visual basic 6?  All the examples are in C and I dont know how to write the declares.
Thanks,
Greg
0
gregoryew
Asked:
gregoryew
  • 3
  • 2
  • 2
2 Solutions
 
BrianGEFF719Commented:
post the C++ code here and I will convert for you.
0
 
gregoryewAuthor Commented:
I think this is the correct code.  It is the header for the implode.h

unsigned int implode(
   unsigned int (*read_buf)(char *buf, unsigned int *size, void *param),
   void         (*write_buf)(char *buf, unsigned int *size, void *param),
   char         *work_buf,
   void         *param,
   unsigned int *type,
   unsigned int *dsize);


unsigned int explode(
   unsigned int (*read_buf)(char *buf, unsigned  int *size, void *param),
   void         (*write_buf)(char *buf, unsigned  int *size, void *param),
   char         *work_buf,
   void         *param);

Thanks BrianGEFF719
0
 
gregoryewAuthor Commented:
Actually I read some of the other postings and found a freeware dll and visual basic 6 code for zipping a file.  The dll is called Info-ZIP for anyone interested.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
BrianGEFF719Commented:
Have you thought about zlib?

http://www.winimage.com/zLibDll/


-Brian
0
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
Éric MoreauSenior .Net ConsultantCommented:
Recommandation: Split Points
0
 
BrianGEFF719Commented:
I agree with emoreau, both myself and emoreau provided solutions to his problem.

-Brian
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now