Hi,
I have a problem with function AddPackMemory which use UseZipPacker. I run external apps and catch their outputs and then add them in to the zip. But result zip contains only a few of added outputs. I don't know whats wrong and why result zip not contains all of added outputs.
Thanks PeterB
here is my code - http://dl.dropbox.com/u/39103740/report_collector.pb and http://dl.dropbox.com/u/39103740/report.ini
Problem with AddPackMemory and UseZipPacker
Re: Problem with AddPackMemory and UseZipPacker
I just tested it on XP vm with 5.10b2 and it seemed to work
all the outputs seemed to appear under the wmi folder of the zip
all the outputs seemed to appear under the wmi folder of the zip
Windows 11, Manjaro, Raspberry Pi OS


Re: Problem with AddPackMemory and UseZipPacker
I run it several times and here is the number of files in result zip.
73 of 73
73 of 73
73 of 73
73 of 73
12 of 73 !!!
18 of 73 !!!
73 of 73
12 of 73 !!!
12 of 73 !!!
73 of 73
73 of 73
12 of 73 !!!
I don't know why number of files is 12 or 18.
My system is Windows 7 Professional 64bit and PureBasic 5.10 Beta 5 (Windows - x86)
73 of 73
73 of 73
73 of 73
73 of 73
12 of 73 !!!
18 of 73 !!!
73 of 73
12 of 73 !!!
12 of 73 !!!
73 of 73
73 of 73
12 of 73 !!!
I don't know why number of files is 12 or 18.

My system is Windows 7 Professional 64bit and PureBasic 5.10 Beta 5 (Windows - x86)
Re: Problem with AddPackMemory and UseZipPacker
I ran it multiple times without problem but all I can think of is perhaps
it's failing with the calls to wmic
it's failing with the calls to wmic
Windows 11, Manjaro, Raspberry Pi OS

