comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 7-Zip DLL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 7-Zip DLL [message #72265] Fri, 27 August 2010 01:09 Go to previous message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Thu, 26 Aug 2010 12:15:35 -0700 (PDT), kBob <krdean@gmail.com>
wrote:

>
> Looking for ways to use the 7-Zip DLL to compress the contents in a
> folder with IDL.
>
> Any thoughts?
>
> Kelly Dean
> Fort Collins, CO

Calling a DLL from within IDL requires the DLL export function to use
the IDL portable calling convention for passing arguments, i.e.
RET_TYPE dllexportfunction(int argc, void *argv[]).
This means you need to write a wrapper dll that uses this convention.
CALL_EXTERNAL has some keywords like AUTO_GLUE to help you with that,
but I always end up writing one myself (which is not that difficult).

In your case I'd guess you'll be better of spawning some command.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: ITT Announces Acquisition of CREASO
Next Topic: Re: IDLDE 8.0 Command Line Errors

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 07:41:14 PDT 2025

Total time taken to generate the page: 0.48141 seconds