Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, nerocom and vb6.0 - Write Error when creating Audio CD...HELP! at International Chat: Software related forum; Hi, I modified the sample project to convert some mp3's to an audio CD. It burns the first track ok, then reports a write error on the second track. I can't figure out what I have wrong. Here is my code and log file. Thanks! Code:


Reply
 
Thread Tools
Old 21-06-2004   #1 (permalink)
New on Forum
 
Join Date: Jun 2004
Posts: 1
nerocom and vb6.0 - Write Error when creating Audio CD...HELP!

Hi,
I modified the sample project to convert some mp3's to an audio CD. It burns the first track ok, then reports a write error on the second track. I can't figure out what I have wrong. Here is my code and log file.

Thanks!

Code:
Private Sub Burn_Click()
    btnAbort.Enabled = True
    Browse.Enabled = False
    Burn.Enabled = False

    Set Folder = New NeroFolder
    Dim drives As INeroDrives
    Set drives =  nero.GetDrives(NERO_MEDIA_CDR)
    Set drive = drives(AvailableDevices.ListIndex)
    Dim x As Integer
    
    Dim atracks As NeroAudioTracks
    Set atracks = New NeroAudioTracks
    
    Dim atrack() As New NeroAudioTrack
    ReDim atrack(colTracks.Count - 1)
        
    For x = 1 To colTracks.Count
        Set atrack(x - 1) = New NeroAudioTrack
        atrack(x - 1).Artist = "Hole"
        atrack(x - 1).Title = "Hole"
        atrack(x - 1).Index0ContainsData = False
        atrack(x - 1).FileName = colTracks.Item(x)
        If x = 1 Then
            atrack(x - 1).PauseInBlksBeforeThisTrack = 150
        Else
            atrack(x - 1).PauseInBlksBeforeThisTrack = 0
        End If
        atrack(x - 1).TrackType = NERO_AUDIO_TRACK_FILE_MP3
        atracks.Add atrack(x - 1)
    Next x

    drive.BurnIsoAudioCD "Pop Star", "Title", 0, Nothing, atracks, Nothing, NERO_BURN_FLAG_WRITE + NERO_BURN_FLAG_BUF_UNDERRUN_PROT, 16, NERO_MEDIA_CD
    
    GoTo quit

handle_error:
    strMessages = strMessages + Err.Description + Chr(13) + Chr(10) + nero.LastError
    edtMessages = strMessages
quit:
End Sub
Here are the messages I get....

Code:
Buffer Underrun Protection activated
Checking discs
Can only write at 4x (600 KB/s) instead of 16x (2,400 KB/s) to current disc.
Writing to cache
Caching of files started
Caching of files completed
Writing to disc
Burn process started at 4x (600 KB/s)
Writing tracks
Write error
Writing Lead-in and Lead-out
Invalid write state
_NEC DVD+RW ND-1100A\H1 T0
Could not perform EndTrack
Write error
Could not perform Fixation
Burn process failed at 4x (600 KB/s)

Windows XP 5.1
IA32
WinAspi: File 'Wnaspi32.dll': Ver=4.71 (0001), size=45056 bytes, created 8/14/2002 3:03:36 PM 
ahead WinASPI: File 'C:\Program Files\Ahead\Nero\Wnaspi32.dll': Ver=2.0.1.59, size=160016 bytes, created 12/16/2003 8:18:06 PM 
Nero API version: 6.3.1.15
Using interface version: 6.3.1.10
Installed in: C:\Program Files\Ahead\Nero\
Application: Nero - Burning Rom\ahead
Recorder:             <_NEC DVD+RW ND-1100A>    Version: 10FD - HA 1 TA 0 - 6.3.1.15
 Adapter driver:                         HA 1
 Drive buffer  :      2048kB
 Bus Type      :      default (0) -> ATAPI, detected: ATAPI 

=== Scsi-Device-Map ===
DiskPeripheral       : WDC WD300BB-75DEA0               atapi Port 0 ID 0  DMA: On 
CdRomPeripheral      : _NEC DVD+RW ND-1100A             atapi Port 1 ID 0  DMA: Off
CdRomPeripheral      : Generic STEALTH DVD            st3wolf Port 2 ID 0  DMA: Off

=== CDRom-Device-Map ===
_NEC DVD+RW ND-1100A       D:   CDRom0
Generic STEALTH DVD        F:   CDRom1
=======================

AutoRun : 1
Excluded drive IDs: 
WriteBufferSize: 40894464 (0) Byte
ShowDrvBufStat : 0
BUFE           : 0
Physical memory     : 255MB (261124kB)
Free physical memory: 78MB (80476kB)
Memory in use       : 69 %
Uncached PFiles: 0x0
Use Static Write Speed Table: 0
Use Inquiry    : 1
Global Bus Type: default (0)
Check supported media : Disabled (0) 

20.6.2004
NeroAPI
7:50:16 PM	#1 Phase 90 File APIProgress.cpp, Line 273
	Buffer Underrun Protection activated
	
7:50:16 PM	#2 Text 0 File Reader.cpp, Line 118
	Reader running
	
7:50:16 PM	#3 Text 0 File AudioCompilationImpl.cpp, Line 817
	DRM: StartDrmRecording(RealRec:1, ImageRec:0, Copies:1)
	DRM: Beginning burn process.
	
7:50:16 PM	#4 Text 0 File Writer.cpp, Line 124
	Writer _NEC     DVD+RW ND-1100A  running
	
7:50:16 PM	#5 Text 0 File Burncd.cpp, Line 3167
	Turn on Track-At-Once, using CD-R/RW media
	
7:50:16 PM	#6 Text 0 File DlgWaitCD.cpp, Line 245
	Last possible write address on media:   336600 ( 74:50.00)
	Last address to be written:              65983 ( 14:41.58)
	
7:50:16 PM	#7 Text 0 File DlgWaitCD.cpp, Line 257
	Write in overburning mode: NO
	
7:50:16 PM	#8 Text 0 File DlgWaitCD.cpp, Line 2137
	Recorder: _NEC DVD+RW ND-1100A;
	   CDRW code: 00 97 27 28; OSJ entry from: Princo Corporation
	   ATIP Data:
	     Special    Info [hex] 1: D1 00 C4, 2: 61 1B 1C (LI 97:27.28), 3: 4A 32 01 (LO 74:50.01)
	     Additional Info [hex] 1: 01 5C B0, 2: 00 00 00 (invalid), 3: 00 00 00 (invalid)
	
7:50:16 PM	#9 Text 0 File DlgWaitCD.cpp, Line 418
	>>> Protocol of DlgWaitCD activities: <<<
	=========================================
	
7:50:16 PM	#10 Text 0 File ThreadedTransferInterface.cpp, Line 813
	Setup items (after recorder preparation)
	 0: TRM_AUDIO_NOPRE (Motley Crue - 12 - Driftaway.mp3)
	    2 indices, index0 (150) not provided
	    original disc pos #0 + 17944 (17944) = #17944/3:59.19
	    relocatable, disc pos for caching/writing not required/not required, no patch infos 
	    -> TRM_AUDIO_NOPRE, 2352, config 0, wanted index0 0 blocks, length 17942 blocks [_NEC     DVD+RW ND-1100A ]
	 1: TRM_AUDIO_NOPRE (Motley Crue - 1 - Power To The Music.mp3)
	    2 indices, index0 (0) not provided
	    original disc pos #0 + 23404 (23404) = #23404/5:12.4
	    relocatable, disc pos for caching/writing not required/not required, no patch infos 
	    -> TRM_AUDIO_NOPRE, 2352, config 0, wanted index0 0 blocks, length 23402 blocks [_NEC     DVD+RW ND-1100A ]
	 2: TRM_AUDIO_NOPRE (Motley Crue - 2 - Uncle Jack.mp3)
	    2 indices, index0 (0) not provided
	    original disc pos #0 + 24636 (24636) = #24636/5:28.36
	    relocatable, disc pos for caching/writing not required/not required, no patch infos 
	    -> TRM_AUDIO_NOPRE, 2352, config 0, wanted index0 0 blocks, length 24634 blocks [_NEC     DVD+RW ND-1100A ]
	--------------------------------------------------------------
	
7:50:16 PM	#11 Text 0 File Burncd.cpp, Line 3891
	Can only write at 4x (600 KB/s) instead of 16x (2,400 KB/s) to current disc.
	
7:50:16 PM	#12 Text 0 File ThreadedTransferInterface.cpp, Line 983
	Prepare recorder [_NEC     DVD+RW ND-1100A ] for write in TAO
	DAO infos:
	==========
	 MCN: ""
	 TOCType: 0x00; Session Closed, disc fixated
	 Tracks 1 to 3:
	   1: TRM_AUDIO_NOPRE, 2352/0x00, FilePos             0        352800      42557088, ISRC ""
	   2: TRM_AUDIO_NOPRE, 2352/0x00, FilePos      42557088      42557088      97603296, ISRC ""
	   3: TRM_AUDIO_NOPRE, 2352/0x00, FilePos      97603296      97603296     155547168, ISRC ""
	DAO layout:
	===========
	 __Start_|____Track_|_Idx_|_RecDep_|_CtrlAdr_
	    -150 |  lead-in |   0 |   0x00 |  0x01
	    -150 |        1 |   0 |   0x00 |  0x21
	       0 |        1 |   1 |   0x00 |  0x21
	   17944 |        2 |   0 |   0x00 |  0x21
	   17944 |        2 |   1 |   0x00 |  0x21
	   41348 |        3 |   0 |   0x00 |  0x21
	   41348 |        3 |   1 |   0x00 |  0x21
	   65984 | lead-out |   1 |   0x00 |  0x01
	
7:50:16 PM	#13 Text 0 File ThreadedTransferInterface.cpp, Line 1029
	Removed 2 run-out blocks from end of track 1. Length: 17944 -> 17942.
	
7:50:16 PM	#14 Text 0 File ThreadedTransferInterface.cpp, Line 1029
	Removed 2 run-out blocks from end of track 2. Length: 23404 -> 23402.
	
7:50:16 PM	#15 Text 0 File ThreadedTransferInterface.cpp, Line 1029
	Removed 2 run-out blocks from end of track 3. Length: 24636 -> 24634.
	
7:50:16 PM	#16 Phase 24 File APIProgress.cpp, Line 273
	Caching of files started
	
7:50:16 PM	#17 Text 0 File Burncd.cpp, Line 4177
	Cache writing successful.
	
7:50:16 PM	#18 Phase 25 File APIProgress.cpp, Line 273
	Caching of files completed
	
7:50:16 PM	#19 Phase 36 File APIProgress.cpp, Line 273
	Burn process started at 4x (600 KB/s)
	
7:50:16 PM	#20 Text 0 File ThreadedTransferInterface.cpp, Line 2343
	Verifying disc position of item 0 (relocatable, no disc pos, no patch infos, orig at #0): write at #0
	
7:50:16 PM	#21 Text 0 File Mmc.cpp, Line 20239
	Set BUFE: supported -> ON 
	
7:51:20 PM	#22 Text 0 File ThreadedTransfer.cpp, Line 229
	all writers idle, stopping conversion
	
7:51:23 PM	#23 Text 0 File ThreadedTransferInterface.cpp, Line 2343
	Verifying disc position of item 1 (relocatable, no disc pos, no patch infos, orig at #0): write at #18094
	
7:51:23 PM	#24 Text 0 File Mmc.cpp, Line 20239
	Set BUFE: supported -> ON 
	
7:51:33 PM	#25 SCSI -1135 File Cdrdrv.cpp, Line 1442
	SCSI Exec, HA 1, TA 0, LUN 0, buffer 0x07F40000
	Status:     0x04 (0x01, SCSI_ERR)
	HA-Status   0x00 (0x00, OK)
	TA-Status   0x02 (0x01, SCSI_TASTATUS_CHKCOND)
	Sense Key:  0x03 (KEY_MEDIUM_ERROR)
	Sense Code: 0x0C
	Sense Qual: 0x00
	CDB Data:   0x2A 0x00 0x00 0x00 0x48 0xC0 0x00 0x00 0x1B 0x00 0x00 0x00 
	Sense Data: 0x70 0x00 0x03 0x00 0x00 0x48 0xC1 0x0A 
	            0x00 0x00 0x00 0x00 0x0C 0x00 
	
7:51:33 PM	#26 CDR -1135 File Writer.cpp, Line 304
	Write error
	
7:51:34 PM	#27 Text 0 File ThreadedTransfer.cpp, Line 229
	all writers idle, stopping conversion
	
7:51:34 PM	#28 CDR -201 File WriterStatus.cpp, Line 196
	Invalid write state
	_NEC DVD+RW ND-1100A\H1 T0
	
7:51:34 PM	#29 TRANSFER -18 File WriterStatus.cpp, Line 196
	Could not perform EndTrack
	
7:51:34 PM	#30 Text 0 File Mmc.cpp, Line 15064
	<_NEC    DVD+RW ND-1100A > start Close Session
	
7:51:35 PM	#31 SCSI -1135 File Cdrdrv.cpp, Line 1188
	SCSI Exec, HA 1, TA 0, LUN 0
	Status:     0x04 (0x01, SCSI_ERR)
	HA-Status   0x00 (0x00, OK)
	TA-Status   0x02 (0x01, SCSI_TASTATUS_CHKCOND)
	Sense Key:  0x03 (KEY_MEDIUM_ERROR)
	Sense Code: 0x0C
	Sense Qual: 0x00
	CDB Data:   0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 
	Sense Data: 0x70 0x00 0x03 0x00 0x00 0x4A 0x13 0x0A 
	            0x00 0x00 0x00 0x00 0x0C 0x00 
	
7:51:35 PM	#32 CDR -1135 File WriterStatus.cpp, Line 245
	Write error
	
7:51:35 PM	#33 TRANSFER -19 File WriterStatus.cpp, Line 245
	Could not perform Fixation
	
7:51:35 PM	#34 Text 0 File WriterStatus.cpp, Line 254
	falling back to disc fixation
	
7:51:35 PM	#35 Text 0 File Mmc.cpp, Line 15064
	<_NEC    DVD+RW ND-1100A > start Close Session
	
7:52:38 PM	#36 Phase 38 File APIProgress.cpp, Line 273
	Burn process failed at 4x (600 KB/s)
	
7:52:38 PM	#37 Text 0 File AudioCompilationImpl.cpp, Line 828
	DRM: DRM burn session terminated.
	
7:52:38 PM	#38 Text 0 File AudioCompilationImpl.cpp, Line 857
	DRM: Closing entire DRM handling. Bye.
	

Existing drivers:
File 'Drivers\CDRALW2K.SYS': Ver=5.3.4.21, size=23436 bytes, created 12/17/2002 12:32:46 PM 
File 'Drivers\ASPI32.SYS': Ver=4.71 (0001), size=17005 bytes, created 8/14/2002 3:03:36 PM 
File 'Drivers\PXHELP20.SYS': Ver=2.02.62a, size=20016 bytes, created 10/28/2003 5:02:00 AM (Prassi/Veritas driver for win 2K)

Registry Keys:
HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\AllocateCDROMs : 0 (Security Option) 



Burn finished NOT (3)successfully!
Thanks for the help.

I am running the most recent update from the Nero website.


Ron_c
Ron_C is offline   Reply With Quote
Old 30-06-2004   #2 (permalink)
Nero Developer
 
Join Date: Jun 2003
Posts: 209
Re: nerocom and vb6.0 - Write Error when creating Audio CD...HELP!

Did you try to burn the same disc with Nero Burning ROM?
It seems that there have been a problem with the disc.
matze is offline   Reply With Quote
Old 21-04-2006   #3 (permalink)
New on Forum
 
Join Date: Apr 2006
Posts: 1
Re: nerocom and vb6.0 - Write Error when creating Audio CD...HELP!

I had this problem too, even though my Nero was updated to the most recent version.

I found that my ASPI driver was not the most recent rev. For some reason, even though my Nero software was the most recent rev, it didn't update this dll. Once I updated the dll to the most recent version, I was able to burn without this error occurring. The link to the ASPI file was at:

http://ww2.nero.com/nero7/enu/ASPI_Driver.html

(I am using it with Nero 5.5.10.56)

Hope this helps.
kamberk is offline   Reply With Quote
 
Reply


If you can't find where you are looking for, then become a member and get an answer fast! We have thousands of people online every moment of the day to help you! Click here



Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Burn a simple Audio CD with NeroCOM and VB6 papateufel Nero SDK Discussion Forum 8 31-01-2005 13:55
NeroCOM+VB6: How to burn data CD? conde99 Nero SDK Discussion Forum 6 13-01-2005 21:42
VB6/NeroCOM-Problem wkaiser Nero SDK Discussion Forum 4 04-05-2004 07:17
Multisession, NeroCom and VB6 JasonP Nero SDK Discussion Forum 1 26-11-2003 08:35
neroCom example in VB6 Burst42 Nero SDK Discussion Forum 2 12-08-2003 07:19


All times are GMT +2. The time now is 08:46.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0