LaserLock

hello,

why doesn’t work?
The DVD have a LaserLock and abort with the following messages:


OK

+++ Fertig +++

Windows XP 5.1
IA32
WinAspi: -
ahead WinASPI: File 'C:\Programme\Ahead\Nero\Wnaspi32.dll': Ver=2.0.1.74, size=164112 bytes, created 26.10.2004 18:35:34 
Nero API version: 6.6.0.18
Using interface version: 6.6.0.8
Installed in: C:\Programme\Ahead\Nero\
Application: Nero - Burning Rom
ero
Internal Version: 6, 6, 0, 18e

Recorder:             < Image Recorder>         Version: Not Available - HA -1 TA 0 - 6.6.0.18
 Adapter driver:      <Virtual Device>          HA -1
 Drive buffer  :      

=== Scsi-Device-Map ===
CdRomPeripheral      : HL-DT-ST DVD+-RW GWA4164B        atapi Port 0 ID 0  DMA: On 
DiskPeripheral       : ST3160023AS                     iaStor Port 1 ID 0  DMA: On 

=== CDRom-Device-Map ===
HL-DT-ST DVD+-RW GWA4164B  E:   CDRom0
=======================

AutoRun : 1
Excluded drive IDs: 
WriteBufferSize: 83886080 (0) Byte
ShowDrvBufStat : 0
BUFE           : 0
Physical memory     : 2046MB (2095188kB)
Free physical memory: 1491MB (1526972kB)
Memory in use       : 27 %
Uncached PFiles: 0x0
Use Inquiry    : 1
Global Bus Type: default (0)
Check supported media : Disabled (0) 

18.1.2006
NeroAPI
16:06:52	#1 Text 0 File Reader.cpp, Line 127
	Reader running
	
16:06:52	#2 Text 0 File Writer.cpp, Line 122
	Writer  Image Recorder      running
	
16:06:52	#3 Text 0 File DVDCopy.cpp, Line 293
	DVD Track-Information from source disc:
	 Media Type: DVD-ROM
	 Last LBA on layer 0 =  2073519 / 0x1FA3AF / 4049MB
	  S01 T01 Con 0x14 Start       0 Len 4127008 (gap       0) Blank 0 Res 0 Dmg 0 Open Trk 0 Mode TRM_DATA_MODE1 (0)
	
16:06:52	#4 Text 0 File DVDCopy.cpp, Line 406
	Max -1 tracks of 1 allowed to copy
	 1:        0 -  4127008 =  4127008, TRM_DATA_MODE1, block size 2048, read opt 0 (no read options)
	
16:06:52	#5 Text 0 File Burncd.cpp, Line 3233
	Turn on Track-At-Once, using DVD media
	
16:06:52	#6 Text 0 File DlgWaitCD.cpp, Line 270
	Last possible write address on media:  4718591 (1048:34.41, 9215MB)
	Last address to be written:            4127007 (917:06.57, 8060MB)
	
16:06:52	#7 Text 0 File DlgWaitCD.cpp, Line 282
	Write in overburning mode: NO
	
16:06:52	#8 Text 0 File DlgWaitCD.cpp, Line 448
	>>> Protocol of DlgWaitCD activities: <<<
	=========================================
	
16:06:52	#9 Text 0 File ThreadedTransferInterface.cpp, Line 838
	Setup items (after recorder preparation)
	 0: TRM_DATA_MODE1 (1 - Data (mode 1))
	    2 indices, index0 (150) not provided
	    original disc pos #0 + 4127008 (4127008) = #4127008/917:6.58
	    not relocatable, disc pos for caching/writing not required/not required, no patch infos
	    -> TRM_DATA_MODE1, 2048, config 0, wanted index0 0 blocks, length 4127008 blocks [Image Recorder]
	--------------------------------------------------------------
	
16:06:52	#10 Text 0 File ThreadedTransferInterface.cpp, Line 1051
	Prepare recorder [Image Recorder] for write in TAO
	DAO infos:
	==========
	 MCN: ""
	 TOCType: 0x40; Session Closed, disc fixated
	 Tracks 1 to 1:
	   1: TRM_DATA_MODE1, 2048/0x00, FilePos             0             0    8452112384, ISRC ""
	DAO layout:
	===========
	 __Start_|____Track_|_Idx_|_CtrlAdr_|_RecDep__________
	       0 |  lead-in |   0 |    0x41 | 0x00
	       0 |        1 |   0 |    0x41 | 0x00
	       0 |        1 |   1 |    0x41 | 0x00
	 4127008 | lead-out |   1 |    0x41 | 0x00
	
16:06:52	#11 Phase 120 File APIProgress.cpp, Line 276
	Creating the image for burning
	
16:06:52	#12 Text 0 File ThreadedTransferInterface.cpp, Line 2661
	Verifying disc position of item 0 (not relocatable, no disc pos, no patch infos, orig at #0): write at #0
	
16:07:31	#13 SCSI -1047 File Cdrdrv.cpp, Line 1436
	SCSI Exec, HA 0, TA 0, LUN 0, buffer 0x03E83000
	Status:     0x04 (0x01, SCSI_ERR)
	HA-Status   0x00 (0x00, OK)
	TA-Status   0x02 (0x01, SCSI_TASTATUS_CHKCOND)
	Sense Key:  0x05 (KEY_ILLEGAL_REQUEST)
	Sense Code: 0x64
	Sense Qual: 0x00
	CDB Data:   0x28 0x00 0x00 0x00 0x8A 0x00 0x00 0x00 0x20 0x00 0x00 0x00 
	Sense Data: 0x70 0x00 0x05 0x00 0x00 0x00 0x00 0x0E 
	            0x00 0x00 0x00 0x00 0x64 0x00 
	
16:07:31	#14 TRANSFER -25 File Reader.cpp, Line 382
	Error reading data
	
16:07:31	#15 Text 0 File Reader.cpp, Line 385
	Exception value: -1047
	
16:07:31	#16 Text 0 File ThreadedTransfer.cpp, Line 228
	all writers idle, stopping conversion
	
16:07:31	#17 Phase 22 File APIProgress.cpp, Line 276
	Reading disc failed
	

Existing drivers:
File 'Drivers\ADPU160M.SYS': Ver=v3.60a (Lab01_N(johnstra).010529-2218), size=101888 bytes, created 17.08.2001 15:07:32 
File 'Drivers\PXHELP20.SYS': Ver=2.03.27a, size=20576 bytes, created 26.01.2005 03:03:00 (Prassi/Veritas driver for win 2K)

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



Reading disc failed

Writing lead-in and lead-out

Error reading data

Writing tracks

Creating the image for burning

Checking discs


Option Explicit
Dim WithEvents Nero As Nero
Dim WithEvents QDrive As NeroDrive
Dim WithEvents ZDrive As NeroDrive
Dim drives As NeroDrives

Private Sub cmdStart_Click()
  Set QDrive = drives(Me.lstQuelle.ListIndex)
  ZDrive.BurnDiscCopy QDrive, False, "D:\Temp.iso", False, 0, 0, True, True, True, False, NERO_BURN_FLAG_WRITE, 0, NERO_MEDIA_DVD_ROM
  Me.Refresh
End Sub

Private Sub cmdStop_Click()
  Nero.Abort
End Sub

Private Sub Form_Load()
  Dim drive As NeroDrive
  
  Set Nero = New Nero
  Set drives = Nero.GetDrives(NERO_MEDIA_NO_CDR)
  For Each drive In drives
    If InStr(1, drive.DeviceName, "Image") > 0 Then Set ZDrive = drive
    Me.lstQuelle.AddItem drive.DeviceName
  Next drive
  Me.lstQuelle.ListIndex = 0
  Me.txtImage.Text = "D:\IM.iso"
  Me.Refresh
End Sub

Private Sub ZDrive_OnAddLogLine(TextType As NEROLib.NERO_TEXT_TYPE, Text As String)
  Me.txtAusgabe.Text = Text & vbCrLf & vbCrLf & Me.txtAusgabe.Text
  Me.Refresh
End Sub

Private Sub ZDrive_OnDoneBurn(StatusCode As NEROLib.NERO_BURN_ERROR)
  Me.txtAusgabe.Text = Nero.ErrorLog & vbCrLf & vbCrLf & Me.txtAusgabe.Text
  Me.txtAusgabe.Text = Nero.LastError & vbCrLf & vbCrLf & Me.txtAusgabe.Text
  Me.txtAusgabe.Text = "+++ Fertig +++" & vbCrLf & vbCrLf & Me.txtAusgabe.Text
  If StatusCode = NERO_BURN_OK Then
    Me.txtAusgabe.Text = "OK" & vbCrLf & vbCrLf & Me.txtAusgabe.Text
  End If
  Me.ProgressBar1.Value = 0
  Me.Caption = ""
  Me.Refresh
End Sub

Private Sub ZDrive_OnDoneWaitForMedia(Success As Boolean)
  Me.txtAusgabe.Text = "Wait for Media" & vbCrLf & vbCrLf & Me.txtAusgabe.Text
  Me.Refresh
End Sub

Private Sub ZDrive_OnSetPhase(Text As String)
  Me.txtAusgabe.Text = Text & vbCrLf & vbCrLf & Me.txtAusgabe.Text
  Me.Refresh
End Sub

Private Sub ZDrive_OnProgress(ProgressInPercent As Long, Abort As Boolean)
  Abort = False
  Me.ProgressBar1.Value = ProgressInPercent
  Me.Caption = ProgressInPercent & "%"
  Me.Refresh
End Sub

I think the reason is because you are trying to burn DVD in TAO mode but DVDs can be burnt only in DAO.