Bouni Posted July 8, 2008 Share Posted July 8, 2008 (edited) Hello,First excuse my bad english, i'm from Germany muttley I try to extract a .zip File, and it works fine until the unzip process is complete.Then the Autoit Script aborts and a Windows error Box appears.I think it dont make sense to post a picture because ist in German.If i click "dont send" the box disappears and the script is closed.But all files are correctly extracted to my choosen destination folder ?!This is the code for extracting the zip file, ifound it in the Autoit.com ForumFunc _SevenZipExtract($sArchive, $sOutDir = ".", $sFilter = '*', $sCMDLine = '', $hWnd = 0) $dll = DllOpen("7-zip32.dll") DllCall($dll, "int", "SevenZip", "hwnd", $hWnd, "str", 'x ' & $sCMDLine & ' -o' & $sOutDir & ' ' & $sArchive & ' ' & $sFilter, "int", 0) $error = @error DllClose($dll) If $error Then Return 0 Else Return 1 EndIf EndFuncThis is how i call the Function_SevenZipExtract("data\d_3000E.zip","c:\","","-hide","")The 7-zip.dll is in the same directory as the .au3 file (W:\), the d_3000E.zip file is in the subfolder W:\data\d_3000E.zip.So i hope someone can told me how i can fix that error I although attached the 7-zip.dll file i use.7-zip32.dllGreatings from Germany Bouni Edited July 8, 2008 by Bouni Link to comment Share on other sites More sharing options...
Airwolf Posted July 8, 2008 Share Posted July 8, 2008 What is the error you receive? Feel free to add a screenshot, there are people from all over the world on this forum. Ich spreche ein bisschen Deutsch. muttley Certifications: A+, Network+, Security+, Linux+, LPIC-1, MCSA | Languages: AutoIt, C, SQL, .NETBooks: AutoIt v3: Your Quick Guide - $7.99 - O'Reilly Media - September 2007-------->[u]AutoIt v3 Development - newbie to g33k[/u] - Coming Soon - Fate Publishing - Spring 2013UDF Libraries: SkypeCOM UDF Library | ADUC Computers OU Cleanup | Find PixelChecksumExamples: Skype COM Examples - Skype4COMLib Examples converted from VBS to AutoIt Link to comment Share on other sites More sharing options...
MerkurAlex Posted July 8, 2008 Share Posted July 8, 2008 LUCKY i wanna learn german. lol as Airwolf mentioned it would be a good idea to post a screenshot. [quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote] Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now