Using UnRar.dll ?

Pasky

New member
Joined
Jul 16, 2007
Messages
2
Programming Experience
1-3
I've been searching for the last hour on the web how to use this DLL with VB.net. The UNRAR.dll from www.rarlabs.com does come with an example but unfortunatley, I get an error saying the signatures don't match on some delegates when converting it to VS 2005. Also, I just plain don't know how to import the DLL. When I try to add a reference to the DLL it explains its not a valid .NET or COM extension.

After reading some results from the web, apparently you need to make some sort of DLL wrapper for unmanaged DLLs if you would like to use them in .NET. I can't find any straight forward information on how to do this and its becoming quite frustrating. Has anyone had any experience in using UnRar.dll in VB.net? Any help would be appreciated. Thanks.
 
I've found SWIG. But running 'swig.exe -csharp -module unrar unrar.dll'
returns a syntax error.

Anyone have any clues? Surely I can't be the first to try and use unrar.dll in a vb.net application.
 
Back
Top