Just to make sure I understand your answer to (3) ...
The reason I would need to update the total size during the callbacks is so I know when I've added too many files ... but if I do that update during callbacks, and then compare it with the value I get back from GetSize() (after calling Build), they should give the same answer?
The thing is, I don't need to know when I've added too many files (to fit on the disc), all I need to know is, given the options the user has selected in my program, will their files fit or not? So for me, I think I can build my whole tree, call GetSize(), add 2M and either 15M or 30M, and then if the answer is too large, tell the user they gotta pick different options, and then go back and re-create the tree.
|