| |||||||
| Commercial ads | |
| | |
|
![]() |
| | Thread Tools |
| | #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 |
| | |
| | #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. |
| | |
| |
| |
![]() |
| 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 | |
| |