Alexey wrote:
Hello,
1. I write data to non empty DVD-RW with OCX IDevice.TrackAtOnceFromFileSystemHandle() method. Burning is done sucessfuly, but after it i can read from disc only last written data.
I try to import data by executing IDevice.ImportTrack(jolietImage, true, discInfo.TrackNumber - 1), but it takes no effect. [(discInfo.TrackNumber - 1) equals 0, because DWD-RW disc has 1 track always]
What should i do to save previous disc data?
2. I write data to DVD+R with iDevice.TrackAtOnceFromFileSystemHandle() method(previous track imported in case IDiscInfo.Track number more than 1). Burning completed, than disk ejected and loaded agian. But i can't read any data from disc. It looks like empty disc. Only after second disc ejecting and loading i can read data from disc.
Is it problem of my burning device?
(I have Optiarc DVD RW AD-7173A)
Thanks You,
Alexey
Hi Alexey,
You are right DVD-RW media type have one data track, but begin tracks numerate from 1.
For import last track try to use code something like that:
Code:
//
// Import track
//
if(DiscInfo.TrackNumber > 0)
{
Device.ImportTrack(
JolietImage,
true,
(ushort)(DiscInfo.TrackNumber)
);
}
//
//Adding new files in to joliet tree
//
//...
//
//Build image
//
JolietImage.Build((uint)DiscInfo.NextWritableAddress, "Test", "");