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


Commercial ads

Nero SDK Discussion Forum Discuss, NeroCOM 1.0 VS 1.2 at International Chat: Software related forum; Hi. I developed an application using NeroCOM.dll version 1.0. Now i installed a new version of Nero which registers NeroCOM.dll version 1.2. I've got the Nero SDK 1.05, with the documentation of NeroCOM.dll 1.1. The problem is with NeroDrives object. In version


Reply
 
Thread Tools
Old 05-10-2004   #1 (permalink)
New on Forum
 
Join Date: Oct 2004
Posts: 8
NeroCOM 1.0 VS 1.2

Hi. I developed an application using NeroCOM.dll version 1.0.
Now i installed a new version of Nero which registers NeroCOM.dll version 1.2.
I've got the Nero SDK 1.05, with the documentation of NeroCOM.dll 1.1.

The problem is with NeroDrives object. In version 1.2 GetDrives returns a INeroDrives, instead in version 1.0/1.1 it returns a NeroDrives object!
So i cannot rebuild my application! So i change the code... but the real problem is that INeroDrives doesn't have any events!!!!!!

Any suggestion?
Thanks a lot.
lucapan is offline   Reply With Quote
AltToday
CD Freaks

Beitrag
__________________
This advertising will not be shown to registered members.
Register your free account today and become a member on Club CD Freaks - Knowledge is Power
Old 05-10-2004   #2 (permalink)
Nero Developer
 
Join Date: Oct 2003
Posts: 605
Quote:
The problem is with NeroDrives object. In version 1.2 GetDrives returns a INeroDrives, instead in version 1.0/1.1 it returns a NeroDrives object!
GetDrives method has not changed. It still returns INeroDrives as before.

Quote:
So i cannot rebuild my application! So i change the code...
The problem seems to be in the client/IDE that probably got confused after a noncreatable NeroDrives object was introduced. In terms of functionality, nothing changed.

What language are you using?
Quote:
but the real problem is that INeroDrives doesn't have any events!!!!!!
INeroDrives never fired any events. Perhaps you meant INeroDrive?
alexp is offline   Reply With Quote
Old 06-10-2004   #3 (permalink)
New on Forum
 
Join Date: Oct 2004
Posts: 8
Re: NeroCOM 1.0 VS 1.2

Yes. You're right... i mean NeroDrive, not NeroDrives... sorry.
I'm using VS.NET 2003, language C#. So i think COM object are supported...
However my problem is still the same: INeroDrive doesn't have any event. So how can i know when nero finished to burn?
lucapan is offline   Reply With Quote
Old 06-10-2004   #4 (permalink)
New on Forum
 
Join Date: Oct 2004
Posts: 8
Re: NeroCOM 1.0 VS 1.2

Here's a code snippet:

NEROLib v1.1:

NEROLib.NeroDrives drives = burnInfo.Nero.GetDrives(mediaType);
NEROLib.NeroDrive drive = drives.Item(burnInfo.DriveIndex);
drive.OnDoneBurn += new NEROLib._INeroDriveEvents_OnDoneBurnEventHandler (drive_OnDoneBurn);
drive.OnProgress += new NEROLib._INeroDriveEvents_OnProgressEventHandler(drive_OnProgress);

NEROLib v1.2:

NEROLib.NeroDrives drives = burnInfo.Nero.GetDrives(mediaType);
NEROLib.INeroDrive drive = drives.Item(burnInfo.DriveIndex);
// No events !!! HELP!!!
lucapan is offline   Reply With Quote
Old 06-10-2004   #5 (permalink)
New on Forum
 
Join Date: Oct 2004
Posts: 8
Re: NeroCOM 1.0 VS 1.2

Sorry... burnInfo.Nero is simply a reference to an instance of NEROLib.Nero... read it like NEROLib.Nero...
lucapan is offline   Reply With Quote
Old 06-10-2004   #6 (permalink)
Nero Developer
 
Join Date: Oct 2003
Posts: 605
Try doing a cast to NeroDrive like the following:

Code:
NEROLib.NeroDrive drive = (NeroDrive) drives.Item(burnInfo.DriveIndex);
alexp is offline   Reply With Quote
Old 06-10-2004   #7 (permalink)
New on Forum
 
Join Date: Oct 2004
Posts: 8
Re: NeroCOM 1.0 VS 1.2

The cast solves the problem. Thanx
lucapan is offline   Reply With Quote
 
Reply


If you can't find where you are looking for, then become a member and get an answer fast! We have thousands of people online every moment of the day to help you! Click here


Can't find where you are looking for? Search our knowledgebase!
 




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 14:10
NeroCOM C# vakvak17 Nero SDK Discussion Forum 2 09-03-2006 18:10
NeroCom C# TheRod23 Nero SDK Discussion Forum 3 03-03-2006 21:20
using NeroCom with C# yoss05 Nero SDK Discussion Forum 4 11-04-2005 10:16
NeroCOM Stev Nero SDK Discussion Forum 10 25-08-2003 14:41


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


All times are GMT +2. The time now is 06:52.


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