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