| |||||||
| Commercial message | |
| | |
|
![]() |
| | Thread Tools |
| | #1 (permalink) |
| CD Freaks Junior Member Join Date: Mar 2005
Posts: 55
| how to use NeroCDInfo? I want to get information about cd capacity and any other information about cd. I understand that I should read that data from NeroCDInfo object which will be provided by the OnDoneCDInfo event when I calling CDInfo method, but I don’t know how to implement it. Can anybody show me how to implement it? (when I’m implementing it – OnDoneCDInfo event never occur) I'm working with C# ![]() |
| | |
| | #2 (permalink) |
| CD Freaks Junior Member Join Date: Mar 2005
Posts: 55
| Re: how to use NeroCDInfo? I found out that OnDoneCDInfo event occurs only after calling “BurnIsoAudioCD” method. What should I do to get information about CD before calling to “BurnIsoAudioCD” method (for example – I would like to know CD’s free space and it will help me to decide which file I’ll send to burn, big one or small one) |
| | |
| | #4 (permalink) |
| CD Freaks Junior Member Join Date: Mar 2005
Posts: 55
| Re: how to use NeroCDInfo? hi Mike I'm working with C#. I'll show you what i done: private void GetCdInfo(NeroCDInfo cdInfo) { Console.WriteLine(" GetCdInfo "); Console.WriteLine(cdInfo.UnusedBlocks); } private NeroDrive drive; . . . drive.OnDoneCDInfo += new _INeroDriveEvents_OnDoneCDInfoEventHandler(GetCdInfo); . . drive.CDInfo(NERO_CDINFO_FLAGS.NERO_READ_CD_TEXT); . . drive.BurnIsoAudioCD("", "", false, isoTrack, null, null, NEROLib.NERO_BURN_FLAGS.NERO_BURN_FLAG_WRITE, 3, NEROLib.NERO_MEDIA_TYPE.NERO_MEDIA_CD); I'm getting into GetCdInfo method not after "drive.CDInfo(.....)" but after "drive.BurnIsoAudioCD(......)". but i want to get media's info before activating "drive.BurnIsoAudioCD(.....)" ![]() |
| | |
| | #5 (permalink) |
| CD Freaks Junior Member Join Date: Jan 2005
Posts: 73
| Re: how to use NeroCDInfo? The events don't fire imidietly. What I do is i implement like this while(boolOnDoneCDInfo==false) { application.doEvents(); // it forces evets to fire imidietly thread.sleep(1000); } ........ OnDoneCDInfo(....) { boolOnDoneCDInfo=true; } |
| | |
| | #9 (permalink) |
| CD Freaks Rookie Join Date: May 2004
Posts: 43
| Re: how to use NeroCDInfo? block size depends on disktype data cd -> 2048 Byte/block audio cd -> 2352 Byte/block (see also chapter 7.1.48 on page 72 in NeroAPI6.3.1.4.pdf) Michael
__________________ some of my other unsolved NeroSDK problems: SVCD plugin detection: http://club.cdfreaks.com/showthread.php?t=131226 Multisession time problem: http://club.cdfreaks.com/showthread.php?t=132537 May be someone can also help me with that problems. |
| | |
| |
| |
![]() |
| 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 |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Title property of NeroCDInfo is always empty | KMAT | Nero SDK Discussion Forum | 1 | 03-01-2004 11:48 |