| |||||||
| Commercial message | |
| | |
|
![]() |
| | Thread Tools |
| | #1 (permalink) |
| New on Forum Join Date: Mar 2004
Posts: 8
| C# and NeroDrives problem I am trying to get a Drive object for Nero using C#. I have used tlbimp to create a class for NeroCom. The problem is the NeroDrives.Item returns an INeroDrives interface. This is a huge problem since that interface has Zero events. So my question is how does on with .Net 2003 and the Latest NeroCom get access to teh driveClass? Example Code NeroLib.NeroDriveclass Tdrive; NeroLib.Neroclass TBaseNero; in function Nerolib.NeroDrivesClass TDriveList; TDriveList = TBaseNero.Getdrives(); Tdrive= TDriveList.Item(0); // Error Since this method returns a INeroDrive interface. Darushin |
| | |
| | #2 (permalink) |
| New on Forum Join Date: Jan 2004
Posts: 3
| Not sure if this will help you out, but this is how I did it. //you could probably declare this drive locally within the method private NEROLib.NeroDrive drive; //This is the code in my method. NEROLib.NeroClass nero = new NEROLib.NeroClass(); NEROLib.NeroDrives drivelist; drivelist = nero.GetDrives(NEROLib.NERO_MEDIA_TYPE.NERO_MEDIA_CDR); drive = (NEROLib.NeroDrive) drivelist.Item(0); |
| | |
| |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Problem with ND-6750a v.Low speed and burning problem | vtchaser | NEC / Optiarc Burner | 19 | 30-05-2007 21:47 |
| Region problem and TV tuner problem | mnemesis | Newbie Forum | 2 | 22-01-2006 13:09 |
| Nerovision Video/Audio Sync Problem - Simple problem we think! | DrR | Nero & InCD | 5 | 12-02-2005 09:53 |
| Small dilemma... computer problem or software problem? | Braxas | CD and DVD Burners | 2 | 19-12-2004 14:03 |
| DVD-Writer problem (451s) or media problem (Ricoh)? | dumitru | LiteOn / PLDS/ Sony Burner | 4 | 19-04-2004 22:23 |