Problem with AddPackMemory and UseZipPacker

Just starting out? Need help? Post your questions and find answers here.
peterb
User
User
Posts: 60
Joined: Sun Oct 02, 2005 8:55 am
Location: Czech Republic
Contact:

Problem with AddPackMemory and UseZipPacker

Post by peterb »

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
User avatar
idle
Always Here
Always Here
Posts: 5919
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Problem with AddPackMemory and UseZipPacker

Post by idle »

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
Windows 11, Manjaro, Raspberry Pi OS
Image
peterb
User
User
Posts: 60
Joined: Sun Oct 02, 2005 8:55 am
Location: Czech Republic
Contact:

Re: Problem with AddPackMemory and UseZipPacker

Post by peterb »

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)
User avatar
idle
Always Here
Always Here
Posts: 5919
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: Problem with AddPackMemory and UseZipPacker

Post by idle »

I ran it multiple times without problem but all I can think of is perhaps
it's failing with the calls to wmic
Windows 11, Manjaro, Raspberry Pi OS
Image
Post Reply