Hope you do not mind me putting all these in one topic. Let me know if I should be separating the topics for the benefit of others.
1. I have noticed If a file such as an audio file cannot be loaded to be burnt to an audio cd, the file handle is left open and the file cannot be deleted or renamed. That brings me to my next problem #2.
2. Wave files (.WAV) are seen as data and not audio files like MP3s are. I even tried something like this for each audio file:
Code:
l__DISC_LAYOUT.m__DISC_LAYOUT_ENTRY[ i ].m__BOOLEAN__IsAudio = TRUE;
strcpy(l__DISC_LAYOUT.m__DISC_LAYOUT_ENTRY[ i ].m__CHAR__TrackName, "myaudio.wav");
I was mixing mp3 files and wav files and only the mp3 files were written to the tracks.
Was doing a session at once write method.
3. When creating Video CD and Super Video CD, the SDK seems to try to make an image first. Our product runs in a host application called Director MX. When it tries to make the image, it errors out with the following message:
Error for Video CD
writeDisk failed, exception 5, status 2, text 'CStarBurn_DiskFile::CStarBurn_DiskFile(): CreateFile( 'C:\Program Files\Macromedia\Director MX\StarBurn_VideoCD.ISO' ) failed, status 2!!!'
Error for Super Video CD
writeDisk failed, exception 5, status 2, text 'CStarBurn_DiskFile::CStarBurn_DiskFile(): CreateFile( 'C:\Program Files\Macromedia\Director MX\StarBurn_SuperVideoCD.ISO' ) failed, status 2!!!'
I have even run the videocd and supervideocd samples in the same folder of Director MX executable (Director.exe) located in "C:\Program Files\Macromedia\Director MX" while director is running and I get the same error. Is there any way to perhaps specify a temp location to create the ISO instead of in the same directory of the host app? That seems to be the problem.
4. Is there any way to create a UDF cd tree in the same way an ISO cd tree is done? I am able to do ISO images and burns by add lists of folders to build an ISO tree. Having problems doing that for UDF. The samples seem to only show how to do DVD Video disks and a disk that has one or more files on them in the root of the disk.
Myron L Stewart
Ingeniak