Problem with converting NeroCOM via tlbimp

vbimport

#1

Hi!

I want to use the NeroAPI from C# thus I first try to convert NeroCOM.dll to a C# type library by using tlbimp.exe, which gives me four warnings:

  • Error while importing type: parameter referenced a type library that is not available (type: NeroDrive; parameter: pBurnContext; method: BurnNVAPI)
  • Type NeroDrive is invalid and may only be partially converted
  • Error while importing type: parameter referenced a type library that is not available (type: INeroDrive6; parameter: pBurnContext; method: BurnNVAPI)
  • Type INeroDrive6is invalid and may only be partially converted

Despite these warnings tlbimp does produce some output, the question is whether that is usable. I’ve already noticed that when I call NEROLib.NeroDrivesClass.GetDrives() I’m always returned a list of all my cd drives (including those that are not burners).

I have version 1.6.0.0 of NeroCOM.dll