Crash when calling BurnIsoAudioCD twice

vbimport

#1

Hi,

I am having a problem with Nero (6.6.0.3) using COM, under C#, Visual Studio 2003.

When I call BurnIsoAudioCD a second time from my application, there is a crash. The first time is always OK.

Are there “cleanup” operations that must be executed before calling BurnIsoAudioCD a second time on a NeroDrive object? Should I release some COM interfaces explicitly ? Can I write the same NeroIsoTrack object twice, or should I create a new one ?

Thanks for helping,

Pamano


#2

There shouldn’t be a problem in reusing the objects but you may try always creating the new NeroIsoTrack and see if it helps.


#3

Hi,

I was wrong, the crash occurs when I call EstimateTrackSize after I have called BurnIsoAudioCD. (In my “Burn()” method, I show some size information in my status list before calling the BurnIsoAudioCD method).

This is quite an annoying problem, because in my application, I defined an ActiveDrive variable, which is a NeroDrive object that is alive for the duration for the application. After I have written a CD once, I cannot call EstimateTrackSize on the ActiveDrive variable anymore.


#4

It is hard to say anything without some code to try out. Can you please build a small project that reproduces the problem?