#1 Burning Software

It is currently Thu Dec 19, 2024 8:44 am

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: JStarBurnBurnerGrabber: addFile(java.lang.String filePath)
PostPosted: Thu Apr 05, 2007 1:31 pm 
Offline

Joined: Tue Mar 13, 2007 9:40 am
Posts: 16
Hi,

While adding a file using the method addFile(java.lang.String filePath) or addFile(java.lang.String parentPath, java.lang.String filePath) i had the follwing exception:
CStarBurn_FileTree::CreateFromRoot(): FindFirstFile( 'C:\StarBurn.txt\*.*' ) failed, status 3!!!

The file i want to added is C:\StarBurn.txt but as it looks like the method considers it as a directory.

Is there any other method that can i use for adding a single file? I would also like to have the possibility to change the name of the file(or directory) that i want to add, how can i do that? I read the documentation for JStarBurn but i couldn't find any method in order to do that.

Thanks

Eliodor

p.s:Is it possible to have the source code of JStarBurn.dll? I am evaluating JStarBurn and having the source code will help me to do it faster. Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 05, 2007 4:12 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
1) Andrew would check this issue.

2) Sure. I'll send you JStarBurn.dll source code. We'll include it to the next StarBurn SDK update in any case :) Please drop me a message to info@rocketdivision.com.

Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 16, 2007 7:25 am 
Offline

Joined: Tue Mar 13, 2007 9:40 am
Posts: 16
Hi,

I think that the problem with the method addFile(java.lang.String filePath) derives from calling the method StarBurn_ISO9660JolietFileTree_Add in a wrong way, passing p__PCHAR__RootDirectoryNewName = NULL. Calling it this way make that the file that we want to add is being considered as a directory. You must pass as p__PCHAR__RootDirectoryNewName the name of the file. Can you check this please?

Thanks
Eliodor


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 17, 2007 10:54 am 
Offline

Joined: Fri Jan 26, 2007 4:31 pm
Posts: 452
eangjeli wrote:
Hi,

I think that the problem with the method addFile(java.lang.String filePath) derives from calling the method StarBurn_ISO9660JolietFileTree_Add in a wrong way, passing p__PCHAR__RootDirectoryNewName = NULL. Calling it this way make that the file that we want to add is being considered as a directory. You must pass as p__PCHAR__RootDirectoryNewName the name of the file. Can you check this please?

Thanks
Eliodor


With this method is all right, be carefully in the future :)


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 16 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group