Rocket Division Software
http://www.starburnsoftware.com/forum/

Burn multiple images at the same time
http://www.starburnsoftware.com/forum/starburn-sdk-f3/burn-multiple-images-the-same-time-t2078-15.html
Page 2 of 2

Author:  anton (staff) [ Mon Jun 07, 2010 8:15 am ]
Post subject:  Re: Burn multiple images at the same time

You need initialize only once. But the system should not freeze of course.

Mark Tels wrote:
Ok.
I used InitializeEx with SPTD entry and the system frooze some time after the 2nd thread was started.
Are there things that must be avoided to be called twice when using multiple burns?
For example Initialize(Ex) calls etc.?

I will forward the log to the support email.

Thanks in advance.

Author:  Mark Tels [ Mon Jun 07, 2010 9:37 am ]
Post subject:  Re: Burn multiple images at the same time

Ok, thats what I thought.
Currently the whole Initialization is per thread and there doesnt seem to be any problem.

Maybe Dima has some good news lately.

Author:  anton (staff) [ Mon Jun 07, 2010 10:26 am ]
Post subject:  Re: Burn multiple images at the same time

It does not freeze during init according to the log. Rather the code stops responding when reserving track for DVD.

Author:  Mark Tels [ Mon Jun 07, 2010 10:49 am ]
Post subject:  Re: Burn multiple images at the same time

Sometimes both threads start to record but after some time the whole thing gets corrupted and I just get CDB errors.
A single burn completes without any kind of problems (thats why I asked about possible issues when initializing
things per thread / multiple times).

I must admit that I have my own routines to Load/Eject media but I guess that shouldnt cause a problem?
(had a first variant which used MCI commands to eject and load media but lately I replaced them with DeviceIoControl calls)

Author:  anton (staff) [ Mon Jun 07, 2010 10:56 am ]
Post subject:  Re: Burn multiple images at the same time

This does not sound like a valid bugreport. "Sometimes", "CDB errors" etc. Dima will fix exclusive device access, you'll update SPTD layer with the most recent one and we'll give another try to see what's wrong.

It's a bad idea to mix APIs. Stick with StarBurn API if you want to use StarBurn. Or you'll end up with tuning one device with two+ handles at the same time.

Mark Tels wrote:
Sometimes both threads start to record but after some time the whole thing gets corrupted and I just get CDB errors.
A single burn completes without any kind of problems (thats why I asked about possible issues when initializing
things per thread / multiple times).

I must admit that I have my own routines to Load/Eject media but I guess that shouldnt cause a problem?
(had a first variant which used MCI commands to eject and load media but lately I replaced them with DeviceIoControl calls)

Author:  Mark Tels [ Mon Jun 07, 2010 11:18 am ]
Post subject:  Re: Burn multiple images at the same time

Well since the drive operations are done when I call the ActiveX to burn the image there shouldnt be an issue.
There are no handles open to the drive all is performed before or after the initialization / uninitialize of the StarBurnX component. And I guess drive operations on drives that arent bound to a StarBurnX object shouldnt trouble the whole ActiveX?

Author:  Mark Tels [ Mon Jun 07, 2010 12:40 pm ]
Post subject:  Re: Burn multiple images at the same time

Ok. I downloaded the latest SPTD update and the problems seem to be gone.
Will do more test later today and tomorrow and finally post my results.

Author:  anton (staff) [ Mon Jun 07, 2010 3:30 pm ]
Post subject:  Re: Burn multiple images at the same time

Good. Please keep us updated.

Mark Tels wrote:
Ok. I downloaded the latest SPTD update and the problems seem to be gone.
Will do more test later today and tomorrow and finally post my results.

Author:  Mark Tels [ Fri Jun 11, 2010 10:24 am ]
Post subject:  Re: Burn multiple images at the same time

Ok, sorry for the late reply.
The burning now works as expected so the main thing was to switch to SPTD layer.
(and install latest available SPTD.sys)

Author:  anton (staff) [ Fri Jun 11, 2010 11:42 am ]
Post subject:  Re: Burn multiple images at the same time

Good. Please stick with this way on all the customers machines.

Page 2 of 2 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/