LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using UNRAR_DLL in LABVIEW6 Complex data structures and DLL calling

Hi,
brrrrr. I am trying to get files unrarred by using unrar.dll

However the functions in unrar.dll expect pointers and stuff.
Does anyone know how to properly call the unrar.dll functions ?

It seems that a complex data structure is needed for passing parameters
along....

Hhhelp??

Roger
0 Kudos
Message 1 of 4
(3,155 Views)
Editorial to the original message:

I use a program in labview to manage files. rar them up for storage and when
I need them to unrar them.
It concerns rather large datafiles....

I am really at a loss here. Apparently the format for passing parameters to
unrar.dll arguments allows not for pointers/handles but needs
a "cluster" of variables. Maybe a front end dll would help which gets as an
input some strings (not pointers but actual strings containing
path info) to find the file to unpack and also the directory to put the
result in.

Help would be greatly appreciated? Looking forward to your input.
Regards,
Roger
0 Kudos
Message 2 of 4
(3,155 Views)
Roger Eijkhoudt wrote:

> Editorial to the original message:
>
> I use a program in labview to manage files. rar them up for storage and when
> I need them to unrar them.
> It concerns rather large datafiles....
>
> I am really at a loss here. Apparently the format for passing parameters to
> unrar.dll arguments allows not for pointers/handles but needs
> a "cluster" of variables. Maybe a front end dll would help which gets as an
> input some strings (not pointers but actual strings containing
> path info) to find the file to unpack and also the directory to put the
> result in.
>
> Help would be greatly appreciated? Looking forward to your input.
> Regards,
> Roger

I don't deal with DLLs so my info may be faulty.
I beleive that labview will not deal wit
h pointers and such.
The fix as I remember form past posts is to use CIN code to
interface from labview to the DLL .
Hope this points you somewhere useful.
Kevin Kent
0 Kudos
Message 3 of 4
(3,155 Views)
Your solution is in LabVIEW Code Reference manual. Kevin is right.
You'll have to write dll wrapper CIN.
Read this manual and go ahead.

Regards,
--
Sergey Krasnishov
____________________________________
Automated Control Systems
National Instruments Alliance Member
Moscow, Russia
sergey_acs@levsha.ru
http://acs.levsha.ru
Roger Eijkhoudt wrote:

> Editorial to the original message:
>
> I use a program in labview to manage files. rar them up for storage and when
> I need them to unrar them.
> It concerns rather large datafiles....
>
> I am really at a loss here. Apparently the format for passing parameters to
> unrar.dll arguments allows not for pointers/handles but needs
> a "cluster" of variables. Maybe a front end dll would help which gets as an
>
input some strings (not pointers but actual strings containing
> path info) to find the file to unpack and also the directory to put the
> result in.
>
> Help would be greatly appreciated? Looking forward to your input.
> Regards,
> Roger
0 Kudos
Message 4 of 4
(3,155 Views)