| |||||||
| Commercial message | |
| | |
|
![]() |
| | Thread Tools |
| | #1 (permalink) |
| New on Forum Join Date: Jan 2005
Posts: 10
| Using NeroImportDataTrack, (NeroAPI, VC++) Hello, I try to import a data track from a CDRW data disc using the code below (the device handle is a valid one) - NERO_ISO_ITEM *niiTmp; void **ppCDStamp=NULL; NERO_IMPORT_DATA_TRACK_RESULT nidtrResult; NERO_IMPORT_DATA_TRACK_INFO pInfo; niiTmp = NeroImportDataTrack(ndhDeviceHandle, 1, ppCDStamp,&pInfo, NIITEF_IMPORT_ISO_ONLY, &nidtrResult, NULL); After the function call.. niiTmp is NULL ..nidtrResult = NIDTR_DRIVE_ERROR and on calling NeroGetLastDriveError() gives NDE_NO_ERROR .. Could somebody please point out where I could be going wrong and how is the NeroImportDataTrack() function correctly used. Thanks a lot in advance. regds |
| | |
| | #2 (permalink) |
| Nero Developer Join Date: Oct 2003
Posts: 605
| You should actually use void * pCDStamp = NULL; instead of void **ppCDStamp=NULL;, and pass &pCDStamp. NeroImportDataTrack() wants you to pass a pointer to void* that will receive the cd stamp. If you take a moment to interpret what you have written you will realize that you are actually passing NULL. Also, track numbers are zero based. So, by passing 1 you are actually importing the second track. |
| | |
| |
| |
![]() |
| 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 |
| Problem with NeroImportDataTrack to alexp | Ramiro_Mex | Nero SDK Discussion Forum | 9 | 30-06-2005 20:05 |
| why my NeroImportDataTrack always tell me NIDTR_INVALID_FS | daixiaofei | Nero SDK Discussion Forum | 1 | 03-12-2004 16:18 |
| VC ++ guide | helpmehelpu | General Software | 4 | 28-12-2003 14:44 |
| Gta:vc | kwkard | Clone CD | 16 | 16-09-2003 09:27 |
| vc-out? | donfrabrizio2 | Dutch: De Woonkamer | 3 | 26-09-2002 15:31 |