#1 Burning Software

It is currently Wed Dec 18, 2024 10:39 pm

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Problems with StarBurn_ISO9660JolietFileTree_AddW
PostPosted: Wed Feb 04, 2009 6:15 pm 
Offline

Joined: Wed Apr 30, 2008 2:11 pm
Posts: 31
Location: England
Hi there,

Could I ask a question about StarBurn_ISO9660JolietFileTree_AddW? I encounter two problems when I try to use this function:

1. It returns error 5 if p__PWCHAR__RootDirectoryOrFileAbsolutePathAndName actually contains any non-ANSI characters (and reports a WIN32 error code of 123). My understanding is that filenames are (or can be) stored on Joliet discs as Unicode so why should this be?

2. The p__PWCHAR__RootDirectoryOrFileNewName parameter seems to be ignored. Files on the CD end up with the same names as the input files, which is not what I want. Calling StarBurn_ISO9660JolietFileTree_Add (without the W) works correctly. I am passing a filename, rather than a directory name, as input.

So it seems like AddW is broken, which is a shame as I would like to get Unicode filenames onto my Joliet CDs. Or am I missing something?

[Edit]
It's the Unicode *input* filename it's objecting to. The exception text reads:

CStarBurn_DiskFile::CStarBurn_DiskFile(): CreateFile( 'g:\temp\playtime\My Collection\A-ha - Stay On These Roads\01 - ?-ho! - Stay On These Roads.mp3' ) failed, status 123!!!

The '?' in the filename was passed in as a valid Unicode character. Looks like youse guys are converting the filename to ANSI before trying to open it, which is a problem for people trying to burn such a file (which is a perfectly valid file as far as Windows is concerned) to CD.

Tested on Tomohawk, 20081220.

OK, found a fix for this one: pass the source filename through GetShortPathName (). That seems to work. Still can't get a Unicode name onto the CD though.

[/Edit]

[Edit 2]
IMAPI (on Windows XP) can handle the Unicode filename on input and manages to burn it correctly to the CD (preserving the Unicode characters in the filename), so it can be done.
[/Edit 2]

[Edit 3]
StarBurn_ISO9660JolietFileTree_ImportTrack falls over (with an exception somewhere inside starburn.dll) if you try to import a session containing a filename with unicode characters in it (as burned by IMAPI). It's not looking good for Unicode filenames :(
[/Edit 3]

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2009 9:31 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
This one is REMOVED from StarBurn SDK. Please don't use it. It will return with error code starting from version 11 and up.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2009 6:20 pm 
Offline

Joined: Wed Apr 30, 2008 2:11 pm
Posts: 31
Location: England
That's OK, I don't. I'd remove it from the header files and DLL if I were you.

So how do we write Unicode filenames to Joliet CDs? I'd very much like to be able to do this.

Many thanks,

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2009 6:51 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Please use UDF with full Unicode support for now. We'll represent back new ISO9660/Jolient Unicode engine after V11 release.

alpinesoft wrote:
That's OK, I don't. I'd remove it from the header files and DLL if I were you.

So how do we write Unicode filenames to Joliet CDs? I'd very much like to be able to do this.

Many thanks,

Regards,


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2009 6:56 pm 
Offline

Joined: Wed Apr 30, 2008 2:11 pm
Posts: 31
Location: England
I'm not sure if UDF CDs will play on all players (our app creates MP3 music CDs and DVDs). I'll wait for version 12! I can live with the problem for now.

Many thanks,


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2009 7:25 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Stand-alone DVD players - YES (they all support UDF for DVD-Video), stand-alone MP3 CD players - probably not. So please stick with single-byte characters for now for the file names. Thanks!

alpinesoft wrote:
I'm not sure if UDF CDs will play on all players (our app creates MP3 music CDs and DVDs). I'll wait for version 12! I can live with the problem for now.

Many thanks,


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2009 7:40 pm 
Offline

Joined: Wed Apr 30, 2008 2:11 pm
Posts: 31
Location: England
OK, thanks for the tip.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 05, 2009 11:23 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Sorry in any case :(

alpinesoft wrote:
OK, thanks for the tip.


Top
 Profile  
 
 Post subject: Re: Problems with StarBurn_ISO9660JolietFileTree_AddW
PostPosted: Tue Sep 01, 2009 10:07 am 
Offline

Joined: Thu Jun 18, 2009 3:33 pm
Posts: 5
hello,

still it is not possible to use Unicode in a Joliet disc ?
I have an error on adding to the disc image tree some files with unicode characters in their names.

So I tried to change the function StarBurn_ISO9660JolietFileTree_Add to the correspondent wide function StarBurn_ISO9660JolietFileTree_AddW. The function was not present in Starburn.pas, but is is still present in the help, so I added it.

Still doesn't work (EN_SYSTEM_CALL_FAILED).

Exception text: CStarBurn_FileTree::CreateFromRoot(): FindFirstFile( 'C:\Users\MyUser\Desktop\UnicodeTestFolders\?? ?????? ????? ??????? ???? ???\myfile.txt\*.*' ) failed, status 123!!!)

I'm using the latest StarBurn SDK release, provided by you for Delphi 2009 compatibility.


Top
 Profile  
 
 Post subject: Re: Problems with StarBurn_ISO9660JolietFileTree_AddW
PostPosted: Tue Sep 01, 2009 10:13 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Please use UDF with complete Unicode support. We'll release re-worked ISO9660/Joliet/xxx engine after V12 release.


Top
 Profile  
 
 Post subject: Re: Problems with StarBurn_ISO9660JolietFileTree_AddW
PostPosted: Tue Sep 01, 2009 10:37 am 
Offline

Joined: Thu Jun 18, 2009 3:33 pm
Posts: 5
But I just finished to implement StarBun in my application .... :cry:
You sent to me a DataBurner sample application. Now I must change everithing ?
Is it difficult to change a Joliet data burner to UDF data burner ?
In any case, I haven't a Delphi 2009 sample application for UDF ...

When do you think will be released the support for Joliet unicode ? weeks ? months ?
I'm sorry for my impatience, but we need to have a precise timeline, because we are going to release a major upgrade of our backup software and we need to know when we can purchase the licensed version of StarBurn...


Top
 Profile  
 
 Post subject: Re: Problems with StarBurn_ISO9660JolietFileTree_AddW
PostPosted: Tue Sep 01, 2009 10:58 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Not weeks definitely.


Top
 Profile  
 
 Post subject: Re: Problems with StarBurn_ISO9660JolietFileTree_AddW
PostPosted: Tue Sep 01, 2009 12:20 pm 
Offline

Joined: Thu Jun 18, 2009 3:33 pm
Posts: 5
And what about my other questions ?

Is it difficult to change a Joliet data burner to UDF data burner ?
What are the main differences ?


Top
 Profile  
 
 Post subject: Re: Problems with StarBurn_ISO9660JolietFileTree_AddW
PostPosted: Tue Sep 01, 2009 12:53 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
I don't know the answers to these questions so it will be Andrew or Vitaly or Dima who'll answer them ))


Top
 Profile  
 
 Post subject: Re: Problems with StarBurn_ISO9660JolietFileTree_AddW
PostPosted: Tue Sep 01, 2009 3:08 pm 
Offline

Joined: Fri Jan 26, 2007 4:31 pm
Posts: 452
delphin wrote:
And what about my other questions ?

Is it difficult to change a Joliet data burner to UDF data burner ?
What are the main differences ?


Hello,

For building Joliet and UDF image used different API and some other call order .
We try to add UDF support in DataBurner Delphi 2009 sample on the next week.


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

All times are UTC


Who is online

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