I am trying to write an application to write single files to a DVD using the Nero 1.1 Type Library.
I have searched the documentation on the SDK, searched the forum, and searched the Internet, but I cannot see how to do the following:
Import the session from a DVD.
Write more files to the DVD.
The closest I have come to getting something working is with the following code:
Dim dvdFS As NeroFileSystemDescContainer Dim isReady As Boolean Set dvdFS = New NeroFileSystemDescContainer dvdFS.BurnOptions = NERO_BURN_OPTION_USE_JOLIET dvdFS.Name2 = "Test" Dim RootCont As NeroDirectoryContainer Set RootCont = dvdFS.RootDirectoryContainer RootCont.AddFile2 "test.txt", "C:\Test.txt", -1, -1 isReady = Drive.DeviceReady If isReady Then Drive.BurnFileSystemContent dvdFS, NERO_BURN_FLAG_VERIFY Or NERO_BURN_FLAG_WRITE, 2, NERO_MEDIA_DVD_M_R End If
This does write, but the disk is unreadable afterwards.
Can anyone give me some sample code on this?