Drive In Use (Crash)

vbimport

#1

Hi all!
I developed a dialog based application from which i simply wanted to write a folder onto a CD. I did everything was needed and the result was ok.
But i noticed that when i start my application (NeroInit in there), open the CD-RW, insert a CD and instantly push Burn button i get a system crash. Nothing is working as it should and of course my application does not respond. I tried the same sequence with Nero 6 and i noticed that i get a progress bar saying that the drive is in use. That it waits for some time and tries to lock (i suppose) the drive again.
Is there a way to develop this with NeroAPI???
I am using VC++6 (MFC).

Thank you in advance
Andreas