OK, I'm stumped trying to get this happening.
Situation: C#, using the NeroCOM interface. I create Nero, NeroDrives, and NeroDrive objects without a problem. I can pull data from NeroDrives using the standard nero.GetDrives(). However, I run into a Catch-22 trying to access a particular drive.
If I use the syntax: drive = (NeroDrive)drives.Item(0); I get a runtime cast exception error.
If I build w/o the cast, I get a compile-time error saying cannot implicitly cast NEROLib.INeroDrive to NEROLib.NeroDrive.
If I declare drive as INeroDrive, the assignment is fine, but I can't assign event handlers since INeroDrive doesn't have them.
Any suggestions? Would INeroDriveEventsSinkHelper be of any use?
Finally, can anybody explain the difference (and proper use) of INeroxxxxx and Neroxxxxx?