Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, Getting Speeds using NeroCOM at International Chat: Software related forum; 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


Reply
 
Thread Tools
Old 17-08-2004   #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
ashokr is offline   Reply With Quote
Old 17-08-2004   #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.
alexp is offline   Reply With Quote
 
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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


All times are GMT +2. The time now is 20:46.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0