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


Commercial message



Nero SDK Discussion Forum Discuss, Using NeroImportDataTrack, (NeroAPI, VC++) at International Chat: Software related forum; 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


Reply
 
Thread Tools
Old 12-01-2005   #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
FalconB is offline   Reply With Quote
Old 12-01-2005   #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.
alexp 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
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


All times are GMT +2. The time now is 16:00.


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