I’m having a weird problem with Nero COM object (or COM objects in general). On the 1-in-a-million chance anybody has seen it before, I’m looking for some advice.
Long story short, in a complex set of circumstances, my Nero CD object is getting hosed after an initial successful use, and when I attempt to use it for a second time, I get a “COM object that has been separated from its underlying RCW can not be used.”
I don’t think it’s a logic problem. I’ve traced the thing that causes it to happen to something seemingly unrelated. I’ve traced it to a couple statements that declare 5M-element Char arrays between the first and second use of the Nero COM object to burn a CD. The Char arrays logically have no connection to my CD burning yet, if I comment out their declaration, the problem doesn’t occur. (I’ve narrowed it down to the fact that it is the declaration of them, not the use of them, that causes the problem.)
Any help here would be GREATLY appreciated.