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

Transition from Zip.GetEntryByName to Zip.EntryOf

Provides instructions for replacing deprecated GetEntryByName method calls with EntryOf.

Chilkat AutoIt Downloads

AutoIt
Local $bSuccess = False

$oZip = ObjCreate("Chilkat.Zip")

;  ...
;  ...
Local $sPathInZip = "example.txt"

;  ------------------------------------------------------------------------
;  The GetEntryByName method is deprecated:

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

;  ...
;  ...

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

$oZe = ObjCreate("Chilkat.ZipEntry")
$bSuccess = $oZip.EntryOf($sPathInZip,$oZe)
If ($bSuccess = False) Then
    ConsoleWrite($oZip.LastErrorText & @CRLF)
    Exit
EndIf