#1 Burning Software

It is currently Fri Dec 20, 2024 9:07 am

All times are UTC




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: C# example of DataBurn
PostPosted: Mon Apr 03, 2006 5:26 pm 
Offline

Joined: Fri Mar 31, 2006 10:55 pm
Posts: 15
Location: U.S.A.
Hi, we are evaluate various CD/DVD burning software for our company's products, and are currently looking at StarBurn SDK....

Question: Is there an example for Data Burn written in C# that we could look at? I saw the DVD Video Burner in C#, but burning a generic data to CD/DVD in OCX/C# is not trival. Can you help? We need to submit a recommendation to our upper management for purchase really soon.

Thank you
Perry-
Software Engineering


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 03, 2006 8:05 pm 
Hi!

We are now developing Data Burner OCX C# sample. It is 80% ready and we can send it to you in a day or two. Besides that we have multiple burning VB.NET sample using StarBurn.dll directly. Also within several weeks we plan to develop C# data burning sample that will use StarBurn.dll directly. If some of those will help you, please drop a letter to support@rocketdivision.com and we'll send them to you.

Regards,
Alexander Orlovsky


Top
  
 
 Post subject: Re: C# example of DataBurn
PostPosted: Tue Apr 04, 2006 3:00 am 
Offline

Joined: Wed Jan 04, 2006 1:02 am
Posts: 22
perryv wrote:
Hi, we are evaluate various CD/DVD burning software for our company's products, and are currently looking at StarBurn SDK....

Question: Is there an example for Data Burn written in C# that we could look at? I saw the DVD Video Burner in C#, but burning a generic data to CD/DVD in OCX/C# is not trival. Can you help? We need to submit a recommendation to our upper management for purchase really soon.

Thank you
Perry-
Software Engineering


And we have JavaScript sample of using OCX to burn data disc (Joliet/ISO9660).
If you are interesting - download OCX and check JS samples


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 04, 2006 4:57 pm 
Offline

Joined: Fri Mar 31, 2006 10:55 pm
Posts: 15
Location: U.S.A.
Actually I am looking for a C# sample similar to the C sample of DataBurner, i.e. user can add files and folder to Joliet file tree. Are those C APIs for adding files/folder to Joliet tree view image available in OCX or C#/C++ ?

Any help is greatly appreciated. Thank you.

Perry-


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 05, 2006 7:04 pm 
Hi!

These APIs are available in OCX. We are almost ready with C# OCX ISO9660/Joliet tree building and burning sample. We'll send it to you ASAP, I think tomorrow.
Also the C# port of C++ DataBurner sample will be available in two-three weeks I think.

Regards,
Alexander Orlovsky


Top
  
 
 Post subject:
PostPosted: Tue Apr 18, 2006 10:30 pm 
Offline

Joined: Fri Mar 31, 2006 10:55 pm
Posts: 15
Location: U.S.A.
We would like to find out the total size (in bytes) of the Joliet file tree right before burning to make sure there's enough disc space. In CJolietImage object, there is a data member ImageSizeInBytes, but it always returns 0, regardless of how many files/folder the user added to the tree.

How can we go about finding out the size of the Joliet tree before burning?

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 19, 2006 9:17 pm 
Hi!

You should build the image before using ImageSizeInBytes poperty, otherwise it will return 0.

Regards,
Alexander Orlovsly


Top
  
 
 Post subject:
PostPosted: Mon Apr 24, 2006 7:15 pm 
Offline

Joined: Fri Mar 31, 2006 10:55 pm
Posts: 15
Location: U.S.A.
Alexander,

Thanks for your prompt reply. Another question: Is there a known problem with calling JolietImage.Build more than once. I got an exception error when calling it the second time (the first time everything is good). Basically we need to calculate the image size everytime the users add files/folder to the image and therefore I have to call Build to update the JolietImage.ImageSizeInBytes member.

Please help. Thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 24, 2006 7:38 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You cannot do this. Keep own track of the added files (you should be getting add callback with file size) and build image only ONCE. Just before burning.

perryv wrote:
Alexander,

Thanks for your prompt reply. Another question: Is there a known problem with calling JolietImage.Build more than once. I got an exception error when calling it the second time (the first time everything is good). Basically we need to calculate the image size everytime the users add files/folder to the image and therefore I have to call Build to update the JolietImage.ImageSizeInBytes member.

Please help. Thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 24, 2006 8:14 pm 
Offline

Joined: Fri Mar 31, 2006 10:55 pm
Posts: 15
Location: U.S.A.
Anton,

Could you point me to an example of how to use the callback to calculate the image size using OCX? I search through and couldn't find anything in CJolietImage class for doing so. I currently use Joliet.Root.AddFile() and Joliet.Root.AddFolder() method to add files/folders, and would like to know the image size as they are being added.

Thank you.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Apr 24, 2006 11:50 pm 
Offline

Joined: Wed Jan 04, 2006 1:02 am
Posts: 22
perryv wrote:
Could you point me to an example of how to use the callback to calculate the image size using OCX? I search through and couldn't find anything in CJolietImage class for doing so. I currently use Joliet.Root.AddFile() and Joliet.Root.AddFolder() method to add files/folders, and would like to know the image size as they are being added.


I am adding this callback right now. It will be available in the next release.
So, if you want it ASAP, please send me an e-mail
oleksiy.popov @ rocketdivision . com
And I will send it to you when it will be ready.

Regards


Top
 Profile  
 
 Post subject: Exception when burning DVD
PostPosted: Tue May 02, 2006 9:18 pm 
Offline

Joined: Fri Mar 31, 2006 10:55 pm
Posts: 15
Location: U.S.A.
I followed the latest Joliet Data burning sample using OCX to burn CD/DVD. When burning CD, everything went fine. However, I keep getting exception when burning DVD:

CstarBurn_ScsiTransportSPTI::ExecuteCDB() Command Failed

I sent the log file to support@rocketdivision.com. I greatly appreciate all the help to resolve this issue ASAP. Thank you!


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 02, 2006 9:41 pm 
Offline

Joined: Fri Mar 31, 2006 10:55 pm
Posts: 15
Location: U.S.A.
Actually, when I tried to burn data to DVD+R using the JolietSample (as is from you), it also gives the same exception

CStarBurn_ScsiTransportSPTI::Execute CDB(): Command failed

something wrong with closing session ??

I greatly appreciate your help. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Tue May 02, 2006 10:01 pm 
Offline

Joined: Fri Mar 31, 2006 10:55 pm
Posts: 15
Location: U.S.A.
The DVD drive model I am using is

DVD-RW DVR-111D 1.06 PIONEER

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 03, 2006 12:15 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
I've already replied to you by e-mail. Guys would issue with with fixed version ASAP. Workaround for this device was added to StarBurn core.


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 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group