#1 Burning Software

It is currently Thu Dec 19, 2024 4:50 am

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Burn error using StarBurn SDK with Delphi 2007
PostPosted: Sun Oct 21, 2007 5:03 pm 
Offline

Joined: Sat Sep 15, 2007 3:54 pm
Posts: 65
Hello,

A user of the application I develop has reported the following error: (Log follows)

Code:
10:52:51 Burning Audio CD
10:52:51      Adding audio file: C:\DOCUME~1\Tim\LOCALS~1\Temp\track000.wav
10:52:51      Adding audio file: C:\DOCUME~1\Tim\LOCALS~1\Temp\track001.wav
10:52:51 160 MBs of cache will be used during burn process
10:52:51 Testing unit ready
10:52:51 Track-At-Once: Yes, Session-At-Once: Yes, Disc-At-Once PQ: No, Disc-At-Once raw P-W: Yes
10:52:51 Getting BUP (Buffer Underrun Protection) support
10:52:51 BUP (Buffer Underrun Protection) Enabled: No, Supported: Yes
10:52:51 Enabling BUP (Buffer Underrun Protection)
10:52:51 Setting CD/DVD speeds
10:52:51 Getting current CD/DVD speeds
10:52:51 Current read speed 5645 KBps (5645 maximum)
10:52:51 Current write speed 706 KBps (1764 maximum)
10:52:51 Getting track information
10:52:51 Track Blank: Yes, NWA valid: Yes, free LBs 336073, track ¹ 1
10:52:51 Getting disc information
10:52:51 Disc erasable: Yes, Disc status: 0x 0, Last session status: 0x 0, Disc type: 3
10:52:51 Sending OPC (Optimum Power Calibration)
10:52:53 Burning mode: Disc-At-Once PQ (from file)
10:52:53 Burning started
10:52:57 StarBurn_CdvdBurnerGrabber_DiscAtOncePQFromFile() failed, exception 8, status 0, text "CStarBurn_ScsiTransportSPTI::ExecuteCDB(): Command failed"


The users is having a system consisting of: Windows XP Pro sp2, 1.5GB memory on a Intel P4 2.8GHz.

Any idea how to solve this?


Thanks in advance,
Mikael


Top
 Profile  
 
 Post subject: Re: Burn error using StarBurn SDK with Delphi 2007
PostPosted: Mon Oct 22, 2007 6:51 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
1) There's no way to solve this as it's drive firmware limitation. Drive reports you it cannot do DAO16 ("Disc-At-Once PQ: No") and you still do DAO16 with it ("StarBurn_CdvdBurnerGrabber_DiscAtOncePQFromFile()"). What for? :)

If you'd check the DAO samples we ship with the SDK you'd see we checking for either DAO16 or DAO96 supported and burn in appropriate mode. Please stick with the samples as they are your friends :)

2) It's a good idea to issue us with the StarBurn core log and no your application log. It worked OK for you this time but it does not in 99% of the cases...

Stojo303 wrote:
Hello,

A user of the application I develop has reported the following error: (Log follows)

Code:
10:52:51 Burning Audio CD
10:52:51      Adding audio file: C:\DOCUME~1\Tim\LOCALS~1\Temp\track000.wav
10:52:51      Adding audio file: C:\DOCUME~1\Tim\LOCALS~1\Temp\track001.wav
10:52:51 160 MBs of cache will be used during burn process
10:52:51 Testing unit ready
10:52:51 Track-At-Once: Yes, Session-At-Once: Yes, Disc-At-Once PQ: No, Disc-At-Once raw P-W: Yes
10:52:51 Getting BUP (Buffer Underrun Protection) support
10:52:51 BUP (Buffer Underrun Protection) Enabled: No, Supported: Yes
10:52:51 Enabling BUP (Buffer Underrun Protection)
10:52:51 Setting CD/DVD speeds
10:52:51 Getting current CD/DVD speeds
10:52:51 Current read speed 5645 KBps (5645 maximum)
10:52:51 Current write speed 706 KBps (1764 maximum)
10:52:51 Getting track information
10:52:51 Track Blank: Yes, NWA valid: Yes, free LBs 336073, track ¹ 1
10:52:51 Getting disc information
10:52:51 Disc erasable: Yes, Disc status: 0x 0, Last session status: 0x 0, Disc type: 3
10:52:51 Sending OPC (Optimum Power Calibration)
10:52:53 Burning mode: Disc-At-Once PQ (from file)
10:52:53 Burning started
10:52:57 StarBurn_CdvdBurnerGrabber_DiscAtOncePQFromFile() failed, exception 8, status 0, text "CStarBurn_ScsiTransportSPTI::ExecuteCDB(): Command failed"


The users is having a system consisting of: Windows XP Pro sp2, 1.5GB memory on a Intel P4 2.8GHz.

Any idea how to solve this?


Thanks in advance,
Mikael


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 22, 2007 7:02 am 
Offline

Joined: Sat Sep 15, 2007 3:54 pm
Posts: 65
Thanks for the reply Anton.

I must have mixed something up in the code since I'm allowing this :oops:

Quote:
It's a good idea to issue us with the StarBurn core log and no your application log.


This log is mostly taken from the (Delphi) samples, where is StarBurns own log stored?


Regards,
Mikael


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 22, 2007 7:09 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Read the FAQ. There's a long section about this.

Stojo303 wrote:
Thanks for the reply Anton.

I must have mixed something up in the code since I'm allowing this :oops:

Quote:
It's a good idea to issue us with the StarBurn core log and no your application log.


This log is mostly taken from the (Delphi) samples, where is StarBurns own log stored?


Regards,
Mikael


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 22, 2007 9:54 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
How can I enable debug logging with StarBurn?

First of all you'll have to use Debug version of StarBurn. Either statically link to StarBurn.lib from Lib\Static\Debug or replace StarBurn.dll with the one shipped in Bin\Dynamic\Debug folder (StarBurn OCX component is already built with log files support so no additional activities required). Then you need to decide - how do you want to catch logs? You can either have them traced to system debug output (any debug output hooker can view them - we recommend either DebugView from www.sysinternals.com or DbgMon from www.osr.com) or just saved to the log file. In last case you need to run StarBurn.reg file located in Reg folder of StarBurn installation to enable log file generation. Edit DebugFileName field and
replace default log file name ("C:\StarBurn.log") with the one you want to use. Please keep in mind: all of the file log entries are appended! So it's a good idea to delete old file before starting StarBurn application if you want to send log to somebody (for example to us for analyze). We don't need whole of your development history stored there from the very beginning of the Earth ☺


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

All times are UTC


Who is online

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