Why is PackEntryName() blank after UncompressPackFile

Just starting out? Need help? Post your questions and find answers here.
swhite
Enthusiast
Enthusiast
Posts: 727
Joined: Thu May 21, 2009 6:56 pm

Why is PackEntryName() blank after UncompressPackFile

Post by swhite »

Hi

Code: Select all

                  Debug PackEntryName(#dCZipFileNo)
                  If UncompressPackFile(#dCZipFileNo,#dCTmpFolder+PackEntryName(#dCZipFileNo),PackEntryName(#dCZipFileNo))
                     Debug PackEntryName(#dCZipFileNo)

In the above code the first debug shows the name of the file to be uncompressed. However, the second debug just shows blank. Why does the UncompressPackFile() affect the PackEntryName(). I would expect the name to stay the same untill I called NextPackEntry(). I am using PB 5.45 on Windows 10.

Thanks,
Simon
Simon White
dCipher Computing