Jump to content

Intermittent error using Zip.au3

Recommended Posts

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)
Am I doing something wrong?


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

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
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...