#1 Burning Software

It is currently Fri Dec 20, 2024 8:24 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Multisession and ImportTrack
PostPosted: Wed Mar 09, 2005 8:12 am 
Offline

Joined: Mon Mar 07, 2005 10:57 pm
Posts: 1
Hello,
I am evaluating the Star Burn SDK and am having a little difficulty writing a multisession CD\DVD.

In general terms I would like to Burn a data file and 2 empty folders to the blank disc and then close that session so I can see the file and folders in windows explorer. Then I want to burn additional sessions one at a time each adding new data files and sub-folders to the existing folders.

This is how I am attempting to do it...

1) Get device handle with "StarBurn_CdvdBurnerGrabber_Create"
2) Check if Blank disc.
3) Create file tree with "StarBurn_ISO9660JolietFileTree_Create"
4) Add my file and 2 folders to the tree with "StarBurn_ISO9660JolietFileTree_Add"
5) Prepare for buring by checking the following...
- StarBurn_CdvdBurnerGrabber_ProbeSupportedWriteModes
- StarBurn_CdvdBurnerGrabber_SetBUP
- StarBurn_CdvdBurnerGrabber_SetSpeeds
- StarBurn_ISO9660JolietFileTree_GetLevel
- StarBurn_CdvdBurnerGrabber_TestUnitReady
- StarBurn_CdvdBurnerGrabber_GetTrackInformation
6) Create the image by calling "StarBurn_ISO9660JolietFileTree_BuildImage"
7) Check the size of image with "StarBurn_ISO9660JolietFileTree_GetSizeInUCHARs"
8) Then I burn it with "StarBurn_CdvdBurnerGrabber_TrackAtOnceFromTree"
9) Then I clean up my SO9660JolietFileTree.
10) I Cose the session by calling "StarBurn_CdvdBurnerGrabber_CloseSession"

Which all seems to work fine.
then I...
11) Create a new file tree with "StarBurn_ISO9660JolietFileTree_Create"
12) Import existing track by passing "1" to "StarBurn_ISO9660JolietFileTree_ImportTrack"
13) Then I following steps 4 - 10.
which also seems to work.

Now when I try to import both of the previous tracks I get an access violation inside stanburn.dll when attempting to import the existing tracks.

I shall try to post the log from this soon, but I wanted to check that I have thr work-flow correct first and that this is the intended use of "StarBurn_ISO9660JolietFileTree_ImportTrack"?

Thanks in advance,
Grant.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 09, 2005 11:28 am 
Offline

Joined: Mon May 31, 2004 6:22 am
Posts: 134
Please, send me log file:
alexey @ rocketdivision . com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group