Cake3

13 views
Skip to first unread message

mr_r...@hotmail.com

unread,
Jul 26, 2007, 4:02:22 PM7/26/07
to QuickZipDev
Hello. This is probably a silly question, but here goes anyway. I am
trying to use Cake3 to view the file contents of a lzh file. The
project is a ASP.Net 2.0 web app. I have downloaded UNLHA32.DLL from
the site recommended in DLLs.txt and installed it. Where do I put
UNLHA32.DLL so that my app can find it and reference it as an archiver?

lycj

unread,
Jul 27, 2007, 3:21:51 AM7/27/07
to QuickZipDev
Greetings

Cake3 use Utils.verifyDllPath() (Utils.cs line 729) to check if the
dll exists (and then dllimport), you will need to rewrite it so it
point to your application directory.

I dont have knowledge related to ASP.NET 2.0, please drop me a note if
it works.

Thanks
Regards
Joseph Leung

mr_r...@hotmail.com

unread,
Jul 27, 2007, 9:25:18 AM7/27/07
to QuickZipDev
It worked! Here's what I did:

I put the files I needed into the App_Code folder, removing any
references to archive types I didn't need. Then I had to change the
GetProgramPath() method and hard coded it to the "bin" folder of my
web application (there's probably a more elegant way to get that path,
but I don't know what it is). All I have tested is for it to list the
contents of a lzh file and that works fine.

Thanks for your help.

-Robert

Reply all
Reply to author
Forward
0 new messages