No. You do not need to create multiple instances multiple times. What you really have to do - "seek" image with SeekToBegin(...) after burn operation is complete.
pipelogix wrote:
Trying to add a feature to create multiple copies of a cd but on the second attempt using SessionAtOnce it errors with EN_INVALID_STATE.
Here is some psuedo code of what I am doing:
CreateBurner();
WaitForDisc();
for(int i = 0; i < Copies;i++){
if(!ImageBuilt){
CreateTree();
AddFilesToTree();
StarBurn...BuildImage();
}
SendOPC();
FormatDiscLayout();
StarBurn...SessionAtOnce();
StarBurn...CloseSession();
StarBurn...Eject();
}
Do I have to Create a new FileTree/Image for each SessionAtOnce even though I am just creating multiple copies of the same image? I know that works but want to avoid doing it each time due to the amount of time it can take.
Thanks,
Michael