Sample code for 30+ languages & platforms
AutoIt Requires Chilkat v11.0.0+

Transition from Zip.FirstEntry to Zip.EntryAt

Provides instructions for replacing deprecated FirstEntry method calls with EntryAt.

Chilkat AutoIt Downloads

AutoIt
Local $bSuccess = False

$oZip = ObjCreate("Chilkat.Zip")

;  ...
;  ...

;  ------------------------------------------------------------------------
;  The FirstEntry method is deprecated:

Local $oEntryObj = $oZip.FirstEntry()
If ($oZip.LastMethodSuccess = False) Then
    ConsoleWrite($oZip.LastErrorText & @CRLF)
    Exit
EndIf

;  ...
;  ...

;  ------------------------------------------------------------------------
;  Do the equivalent using EntryAt.

;  Your application creates a new, empty ZipEntry object which is passed 
;  in the last argument and filled upon success.

;  The 1st entry is at index 0.
$oZe = ObjCreate("Chilkat.ZipEntry")
$bSuccess = $oZip.EntryAt(0,$oZe)
If ($bSuccess = False) Then
    ConsoleWrite($oZip.LastErrorText & @CRLF)
    Exit
EndIf