I am trying to save a Data track from a disc to an iso file on hard disk. My first question is -
Is it possible to do such a thing using NeroSDK?
I tried it with the following pseudo-code -
niiTmp = NeroImportDataTrack(ndhDeviceHandle, 0, &pCDStamp, &pInfo, NIITEF_IMPORT_ISO_ONLY, &nidtrResult, NULL)
This is successful.
ndhImgRecorder = Open ImageRecorder
writeCD.nwcdMediaType = MEDIA_CD
//Make ISO from the NERO_ISO_ITEM tree returned by NeroImportDataTrack()
writeCD.nwcdIsoTrack = NeroCreateIsoTrackEx(niiTmp,“Test”, NCITEF_CREATE_ISO_FS|NCITEF_USE_JOLIET|NCITEF_RELAX_JOLIET);
//Save Image to file on Hard Disk
int iRes = NeroBurn(ndhImgRecorder, NERO_ISO_AUDIO_CD, &writeCD,NBF_WRITE, 0, &npProgress);
When I burn the saved image file to CDRW, it only burns the directory structure but the the files themselves are not burnt. If someone could please explain this?
- When and how is the “pCDStamp” used ?
If someone could please point to relevant information or share their experience or help, I would be extremely grateful. Thanks a lot.