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


Commercial message



Nero SDK Discussion Forum Discuss, Problem with Nero 8 and NeroGetAvailableDrivesEx at International Chat: Software related forum; Hello, I'am using NeroSDK as interface from Delphi 7 to burn CD/DVDs up to Nero 7 no problem. But the following code returns no longer the number of installed devices: Code:


Reply
 
Thread Tools
Old 25-10-2007   #1 (permalink)
New on Forum
 
Join Date: Oct 2007
Posts: 3
Problem with Nero 8 and NeroGetAvailableDrivesEx

Hello,
I'am using NeroSDK as interface from Delphi 7 to burn CD/DVDs up to Nero 7 no problem.
But the following code returns no longer the number of installed devices:
Code:
   devInfos := NeroGetAvailableDrivesEx(MEDIA_CD, nil);
    if Assigned(DevInfos) then begin
      Result := devInfos.nsdisNumDevInfos;
devInfos is always nil.

Has anybody else encountered this problem?

This is my current initialization of NeroSDK:
Code:
      neroSettings.szNeroFilesPath := AllocMem( length( szNeroAPIPath ) + 1 );
      strcopy( neroSettings.szNeroFilesPath, PAnsiChar( szNeroAPIPath ) );
      neroSettings.szVendor := AllocMem( 7 );
      strcopy( neroSettings.szVendor, 'ahead' );
      neroSettings.szSoftware := AllocMem( length( 'Nero - Burning Rom' ) + 1 ) ;
      strcopy( neroSettings.szSoftware,'Nero - Burning Rom' );
      neroSettings.szLanguageFile := AllocMem( 9 );
      strcopy( neroSettings.szLanguageFile, 'Nero.txt' );
      neroSettings.ncIdle.pCallbackFunction := @IdleCallback;
      neroSettings.ncUserDialog.pCallbackFunction := @UserDialog;
      //neroSettings.bEnableOverburn := false;
      //neroSettings.wOverburnSize := 0;
      NeroInit( @neroSettings, nil );//2do error handling
      NeroSetExpectedAPIVersionEx( 6,3,0,5, nil );
Thanks a lot.
Sparhawk42 is offline   Reply With Quote
Old 26-10-2007   #2 (permalink)
New on Forum
 
Join Date: Jul 2004
Location: Holland
Posts: 21
Re: Problem with Nero 8 and NeroGetAvailableDrivesEx

I think you better switch to NeroCom in Delphi instead of the old delphiNeroApi. The latter is very out of date.
__________________
The Mask
Developer of The FilmMachine, an easy AVI to (S)VCD or DVD conversion utility.
The Mask is offline   Reply With Quote
Old 26-10-2007   #3 (permalink)
New on Forum
 
Join Date: Oct 2007
Posts: 3
Re: Problem with Nero 8 and NeroGetAvailableDrivesEx

And where do I find this for Delphi 7?
Sparhawk42 is offline   Reply With Quote
Old 26-10-2007   #4 (permalink)
New on Forum
 
Join Date: Jul 2004
Location: Holland
Posts: 21
Re: Problem with Nero 8 and NeroGetAvailableDrivesEx

Send me your email and I will send you the source and a sample application.

I use Delphi 2007 but it should work for Delphi 7
__________________
The Mask
Developer of The FilmMachine, an easy AVI to (S)VCD or DVD conversion utility.
The Mask is offline   Reply With Quote
Old 26-10-2007   #5 (permalink)
New on Forum
 
Join Date: Oct 2007
Posts: 3
Re: Problem with Nero 8 and NeroGetAvailableDrivesEx

There should be an official download page. Or is this part of the Nero CD?
Where do I get updated versions then?
Sparhawk42 is offline   Reply With Quote
Old 26-10-2007   #6 (permalink)
New on Forum
 
Join Date: Jul 2004
Location: Holland
Posts: 21
Re: Problem with Nero 8 and NeroGetAvailableDrivesEx

NeroCom is automatically updated with every new version of Nero. You only have to import the new type library in Delphi. That is the advantage of COM.
__________________
The Mask
Developer of The FilmMachine, an easy AVI to (S)VCD or DVD conversion utility.
The Mask 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



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
NeroGetAvailableDrivesEx/NeroDone - threads problem hilaner Nero SDK Discussion Forum 2 02-11-2006 18:57
Issue/Bug in NeroGetAvailableDrivesEx and Nero 7 Jim Fafrak Nero SDK Discussion Forum 1 30-05-2006 16:41
Error with NeroGetAvailableDrivesEx() rfoushee Nero SDK Discussion Forum 1 31-03-2005 21:19
NeroGetAvailableDrivesEx(MEDIA_CD, NULL) rtt100 Nero SDK Discussion Forum 2 28-02-2004 20:22
NeroGetAvailableDrivesEx(MEDIA_CD, NULL) Steve Wagner Nero SDK Discussion Forum 1 20-02-2004 15:46


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


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