Sign in to follow this  
Followers 0
shornw

Intermittent error using Zip.au3

1 post in this topic

Quite odd really, occasionally, and with no real pattern, I get the error:

'AutoIt3\Include\Zip.au3 (333) : ==> Object referenced outside a "With" statement.:'

As this is just testing at the moment, the files in the target location don't change, but every now and then I get the error, most times it works just fine

$f1 = FileFindFirstFile("C:\Temp\Test\*.au3")
While 1
      $file = FileFindNextFile($f1)
      If @error Then ExitLoop
      _Zip_AddFile($zip, $path & $file)
;    MsgBox(0, "", @error)
WEnd
Am I doing something wrong?

Thanks


[font='Comic Sans MS']Eagles may soar high but weasels dont get sucked into jet engines[/font]

Share this post


Link to post
Share on other sites



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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0