Mayayana
9/26/2010 1:05:00 PM
Thanks. That's a nicely detailed analysis.
>
However, in both Vista(No SP) and Windows 2008 Server(SP1), the software
gets the number of files correctly and without problems, but after
extracting all files, it crashes. I haven't tested creating CAB files in
these OS'es.
>
I'll have to find a way to test that. Leo said
it worked fine for him on Win7, but that's the
only other feedback so far. I thought the
extraction was all set. There is one issue:
If the handle hFDI is set to 0 after FDIDestroy
it will crash -- only in the IDE. It seems that cabinet.dll
doesn't let go of it right off. But the current code
is only cleaning up at program close.
| I commented out that member(fFailOnIncompressible), and ran the EXE on
| XP+SP2, it extracted the files correctly(did binary compare), but creating
| CAB file failed with error 91: Object variable or With block variable not
| set. So I tried to run it from the IDE, and when I click "Create CAB", the
| IDE crashes.
|
That makes sense. The extraction has no connection
with the CCAB structure.
| I tried the same EXE(with the extra member commented out), and it gets the
| CAB files count correctly, but it crashes when I click "Extract all CAB
| files".
|
That's also on XP? Commenting out the extra member
has no connection with the extraction/cab file count.
It would have to be something else causing that. The
crash (or operation failure) would only come from writing
to the CCAB szCab or szCabPath members.