Hi Anton, here we go again.
Attached you will see: 1. StarBurn debug file "StarBurn.log" 2. "StarWave.log" 3. DIRectory listing as per "D:\DB>dir /C /S/N" (dir.txt) 4. Output log for my application program(AppLog.txt). 5. Code snippet for deletion (code.pas) Got all files ready: how to send them to you . I just read your post about logs ...
You will see funny things.
Order of operations: Res := StarBurn_CdvdBurnerGrabber_Create(wGraber, PCHAR(@EText[1] ), sizeof(EText), Status, @FailInfo, @SitaBurnerCallback, wDevContext, wDevice.Port,wDevice.Bus, wDevice.Target, wDevice.Lun, 64); Res := StarBurn_ISO9660JolietFileTree_Create(FTrack, PCHAR(@ErrorText[1]), sizeof(ErrorText), Status, @SitaBurnerCallback, @FTrackContext, TRUE, FALSE, // No locked files - do not keep all the handles opened all the time TRUE, // Use Level2 for ISO9660 names generation FTrackType); a series of: Res := StarBurn_ISO9660JolietFileTree_Add(FTrack, PCHAR(@ErrorText[1]), sizeof(ErrorText), Status, PChar(wPath), Nil, FILE_TIME_LAST_WRITE, FIsoRoot, NewNode); (one of then is D:\DB ) Res := StarBurn_ISO9660JolietFileTree_BuildImage(FTrack, PCHAR(@ErrorText[1]), sizeof(ErrorText), Status, 00000000, FtreeDeep, //ISO9660_TREE_LEVEL TRUE, 'Backup01', 'Sita Software', 'FBackupClient.exe'); Files deletion, (code attached as code.pas)
What's wrong ?
Antonio.
|