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


Commercial message



Nero SDK Discussion Forum Discuss, Can't add session on DVD+-RW - works with CD-RW at International Chat: Software related forum; Hello, I'm trying to build a multi-session DVD+-RW with NeroAPI (I use 6.6.0.6). It works without any problem with CD-RW (with the same code except the media type) but I've got always the message "the disc is no empty" with DVD+-RW.


Reply
 
Thread Tools
Old 18-06-2005   #1 (permalink)
New on Forum
 
Join Date: Jun 2005
Posts: 2
Can't add session on DVD+-RW - works with CD-RW

Hello,

I'm trying to build a multi-session DVD+-RW with NeroAPI (I use 6.6.0.6). It works without any problem with CD-RW (with the same code except the media type) but I've got always the message "the disc is no empty" with DVD+-RW. So I can't add a session on this kind of disc until I erase the disc

this is the code I use:

importedNeroFile = NeroImportDataTrack( neroDeviceHandle, lastTrack , &ppCDStamp, &track, 0, &result, NULL );
NeroFreeCDStamp ( ppCDStamp );

...

NERO_ISO_ITEM* neroFile = NeroCreateIsoItem();
(this neroFile will be added at the end of the importedNeroFile)

...


// no CD stamp, artist or title required
writeCD.nwcdpCDStamp=NULL;
writeCD.nwcdArtist=NULL;
writeCD.nwcdTitle=NULL;

writeCD.nwcdCDExtra=FALSE;

// we have no Audio tracks
writeCD.nwcdNumTracks=0;
writeCD.nwcdMediaType = MEDIA_DVD_P_RW;

if ( neroDeviceHandle ) {

writeCD.nwcdIsoTrack = NeroCreateIsoTrackEx( firstNeroFile, Now().DateTimeString().c_str(), NCITEF_CREATE_ISO_FS | NCITEF_USE_JOLIET );
int iRes = NeroBurn( neroDeviceHandle, NERO_ISO_AUDIO_CD, &writeCD,
NBF_WRITE | NBF_CLOSE_SESSION | (verify ? NBF_VERIFY : 0) | (no_eject ? NBF_DISABLE_EJECT : 0),
0, npProgress );

// free memory that was allocated for the track
NeroFreeIsoTrack(writeCD.nwcdIsoTrack);

// close the device
NeroCloseDevice(neroDeviceHandle);

//NeroFreeIsoItemTree( importedNeroFile );
NeroFreeIsoItemTree( firstNeroFile );

Any idea ? Thanks for your help !

Jimmy
llimz is offline   Reply With Quote
Old 20-06-2005   #2 (permalink)
New on Forum
 
Join Date: Jun 2005
Posts: 2
Re: Can't add session on DVD+-RW - works with CD-RW

Hi,

I just found why I've got this behaviour. We must fill in the nwcdpCDStamp var of the NERO_WRITE_CD struct with the previous value given by the NeroImportDataTrack.

Here is my code:

void *ppCDStamp = NULL;
...
importedNeroFile = NeroImportDataTrack( neroDeviceHandle, lastTrack , &ppCDStamp, &track, 0, &result, NULL );
...
writeCD.nwcdpCDStamp = ppCDStamp;

Hope it could help someone...

Jimmy
llimz is offline   Reply With Quote
Old 25-06-2005   #3 (permalink)
New on Forum
 
Join Date: Jun 2005
Posts: 1
Re: Can't add session on DVD+-RW - works with CD-RW

how can i erase an audio cd with roxio or windows media player
rondejohn is offline   Reply With Quote
 
Reply

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
dvd works cd-rw doesn't? malchika CD and DVD Burners 1 26-07-2006 20:03
Does closing session on DVD-RW,RAM,+RW etc ruin disc? B105 Burning Software 7 21-05-2006 11:34
DVD-RW/+RW and CD-RW/+RW problem Alana NEC / Optiarc Burner 0 12-01-2005 20:42
Open last session on CD-RW with NeroApi bhk Nero SDK Discussion Forum 1 30-04-2004 13:08
De Sony DVD-R/-RW/+R/+RW/CD-R/CD-RW DRU500A King Dingeling Dutch: De Woonkamer 4 17-10-2002 16:31


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


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