| |||||||
| Commercial message | |
| | |
|
![]() |
| | Thread Tools |
| | #1 (permalink) |
| New on Forum Join Date: Jul 2004
Posts: 9
| Getting Speeds using NeroCOM Hi, I have a problem while getting the drive speeds. I am using Nero SDK 6.3 and i am working with NeroCOM. I am getting only one speed. please see the code snippet below GetSpeed( ) { long speed; Idrive->get_AvailableSpeeds(NERO_ACCESSTYPE_WRITE,NERO_MEDIA_CDRW,&spd); spd->get_BaseSpeedKBs(&speed); } In the above code, INeroDrive *Idrive; INeroSpeeds *spd; Since INeroSpeeds has only one method (ie.get_BaseSpeedKBs) I am not able to get all the speeds supported by a drive. Is it a bug in COM version?? because it is not so in NeroApi version. Any response is appreciated. Thanx, Ashok |
| | |
| | #2 (permalink) |
| Nero Developer Join Date: Oct 2003
Posts: 605
| INeroSpeeds has more methods inherited from INeroIntCollection. You can use either methods Count/Item or you can call _NewEnum to ask for IEnumVARIANT and enumerate speeds that way. The current implementation will return more speeds than actually supported. You can safely discard the duplicate speeds and only use unique ones. |
| | |
| |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using NeroCOM, is there C++ example? | steven chen | Nero SDK Discussion Forum | 2 | 31-03-2006 13:10 |
| NeroCOM 1.0 VS 1.2 | lucapan | Nero SDK Discussion Forum | 6 | 06-10-2004 15:38 |
| nerocom and before 6.0 | Curtis | Nero SDK Discussion Forum | 1 | 08-04-2004 10:49 |
| NeroCOM | Stev | Nero SDK Discussion Forum | 10 | 25-08-2003 13:41 |
| burning at speeds higher than rated speeds | froz3n | Blank Media | 2 | 09-03-2003 12:02 |