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


Commercial ads

Nero SDK Discussion Forum Discuss, NeroCom with Delphi at International Chat: Software related forum; Hi all, I dont know where to start... I tried to import NeroCom to delphi but I got all kind of errors... and also I dont know how to use it after the import.. Does anyone have a Delphi example of Using NeroCom + Events??? Any Help will be appriciated! Haim


Reply
 
Thread Tools
Old 06-02-2007   #1 (permalink)
New on Forum
 
Join Date: Feb 2007
Posts: 1
NeroCom with Delphi

Hi all,

I dont know where to start...

I tried to import NeroCom to delphi but I got all kind of errors...

and also I dont know how to use it after the import..

Does anyone have a Delphi example of Using NeroCom + Events???

Any Help will be appriciated!

Haim
haim.bracha 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 06-02-2007   #2 (permalink)
New on Forum
 
Join Date: Jun 2006
Posts: 2
Re: NeroCom with Delphi

It's a long way to go...
First, you have to install NeroCom via Project -> Import Type Library. Now, for some reasone I can't figure out, Delphi 7 can't import event classes. So I used a free program named EventSinkImp to generate a Delphi package containing the event classes (I did it long time ago, I can't remember how to use that program in detail, sorry). Double-click on Delphi package file, compile than install.
Now, place on your form Nero objects you need. I used Nero (of course), NeroISOTrack (cause I need to create a data cd) and NeroLibINeroDriveEvents cause I was interested to handle only burn completed event generated by a drive. To obtain a drive list, you have to call Nero.GetDrives method. Then you have to associate the event class with the drive using Connect method, e.g.:

drives: NeroDrives;
drive: INeroDrive;

drives := Nero.GetDrives(NERO_MEDIA_CDR);
// Select first CDR drive
drive := drives.Item(0);
// Now associate with event class
NEROLibINeroDriveEvents.Connect(drive);

Using Delphi object inspector palette, override NEROLibINeroDriveEvents methods you need.
Jerle Shannara 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
NeroCOM and Delphi - Samplecode? ralfiii Nero SDK Discussion Forum 0 29-03-2005 12:13
The NeroCom DLL and DELPHI 4 hnrsoftware Nero SDK Discussion Forum 0 03-12-2004 18:14
NeroCom or NeroApi in Delphi The Mask Nero SDK Discussion Forum 6 18-08-2004 09:30
Delphi 7 and NeroCOM Events GMTyrael Nero SDK Discussion Forum 5 17-02-2004 14:53
How to import NeroCom into Delphi? atf Nero SDK Discussion Forum 2 03-12-2003 13:58


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:53.


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