#1 Burning Software

It is currently Sat Dec 21, 2024 12:36 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Getting the current size of the ISO9660JolietFileTree
PostPosted: Fri Dec 30, 2005 10:07 pm 
Offline

Joined: Mon Nov 21, 2005 8:52 pm
Posts: 3
Hi

I am after a way of finding out the current size of the ISO9660JolietFileTree.
I have created the file tree, I then Add (ISO9660JolietFileTree_Add) a tree, I would then like to know the size currently being used without having to build the image first. I wish to Add files, see what space I have left, then if I have enough space add another file etc. The GetFileSizeinUCHARS seams only to work after I have built the image using StarBurn_ISO9660JolietFileTree_BuildImage. However I can not call BuildImage twice without getting an exception.

Thanks

M. Wheatley


Top
 Profile  
 
 Post subject: Re: Getting the current size of the ISO9660JolietFileTree
PostPosted: Sat Dec 31, 2005 1:04 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You need to process callbacks from tree creation and keep own track when every single file added or removed. Would update the samples to show it as it seems to be a common question... For now there's no way to get tree size with call to GetTreeSize(...) or whatever. I mean *BEFORE* file system image is initialized with call to Build(...) API call.

matt.wheatley wrote:
Hi

I am after a way of finding out the current size of the ISO9660JolietFileTree.
I have created the file tree, I then Add (ISO9660JolietFileTree_Add) a tree, I would then like to know the size currently being used without having to build the image first. I wish to Add files, see what space I have left, then if I have enough space add another file etc. The GetFileSizeinUCHARS seams only to work after I have built the image using StarBurn_ISO9660JolietFileTree_BuildImage. However I can not call BuildImage twice without getting an exception.

Thanks

M. Wheatley


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group