#1 Burning Software

It is currently Mon May 13, 2024 5:04 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: StarBurn Supported Tree Level
PostPosted: Wed Aug 06, 2008 8:27 am 
Offline

Joined: Wed Aug 06, 2008 8:18 am
Posts: 10
I saw StarBurn supported ISO9660 and Joliet format. But when I use StarBurn_ISO9660JolietFileTree_BuildImage function, it just can support 8 level. If the tree level is exceed, the burnt directory will be error. Any other tech or API can make it correct.


Top
 Profile  
 
 Post subject: Re: StarBurn Supported Tree Level
PostPosted: Wed Aug 06, 2008 10:01 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You need to pass TRUE as IsLevel2 parameter during file tree creation. See this API call:

STARBURN_IMPEX_API
EXCEPTION_NUMBER
__stdcall
StarBurn_ISO9660JolietFileTree_Create(
OUT PVOID *p__PPVOID__ISO9660JolietFileTree,
OUT PCHAR p__PCHAR__ExceptionText,
IN ULONG p__ULONG__ExceptionTextSizeInUCHARs,
OUT PULONG p__PULONG__SystemError,
IN PCALLBACK p__PCALLBACK,
IN PVOID p__PVOID__CallbackContext,
IN BOOLEAN p__BOOLEAN__IsInvalidKidIgnore,
IN BOOLEAN p__BOOLEAN__IsLocked,
IN BOOLEAN p__BOOLEAN__IsLevel2,
IN FILE_TREE p__FILE_TREE
);


Chris.Lu wrote:
I saw StarBurn supported ISO9660 and Joliet format. But when I use StarBurn_ISO9660JolietFileTree_BuildImage function, it just can support 8 level. If the tree level is exceed, the burnt directory will be error. Any other tech or API can make it correct.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 07, 2008 1:29 am 
Offline

Joined: Wed Aug 06, 2008 8:18 am
Posts: 10
I have passed TRUE as IsLevel2 parameter during file tree creation. When I use StarBurn_ISO9660JolietFileTree_BuildImage, the burning result will be error. Some files will be incorrect directory. Because the tree level exceeds 8. Strange, some thime, it will be right when the level exceeds 8. But some time, it will be error. I found when the directory length is long, it will be error. In fact, the length is not very long.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 10, 2008 11:46 am 
Offline

Joined: Fri Jan 11, 2008 6:13 am
Posts: 200
Location: BVI
Path is too long. If it's too long particular file name will be rejected. You get an informatical callback so you could be able to inject this file later using shorter ISO9660/Joliet structure. Everything works as expected.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 29, 2008 2:24 am 
Offline

Joined: Wed Aug 06, 2008 8:18 am
Posts: 10
How to make the name is shorter? what API function can be called? Can you give me a simple example? Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 29, 2008 7:36 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Catch CN_FILE_TREE_PROGRESS_IGNORE callback and keep some kind of the list. After you'll build the tree do call Add(...) again passing shorter name as RootDirectoryNewName.

Chris.Lu wrote:
How to make the name is shorter? what API function can be called? Can you give me a simple example? Thanks.


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 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