| |||||||
| Commercial message | |
| | |
|
![]() |
| | Thread Tools |
| | #1 (permalink) |
| New on Forum Join Date: Feb 2005 Location: I live in Cholula Puebla Mexico
Posts: 7
| Problem with NeroImportDataTrack to alexp Hi everybody & Alexp. I programmed an application using NeroSDK, in MSVC++ 6.0, this works fine with CD / CDRW to create multisession discs, too when I write DVD the burn process is ok, but when I try to burn a DVD two or more sessions I can't to import session > 0 the proces to impot is: HTML Code: <form><input type="textarea"> if (0 != (m_NeroCDInfo->ncdiMediumFlags & NCDIMF_VIRTUALMULTISESSION)) { NERO_VMS_INFO * pVMSInfo = NeroGetVMSInfo (ndhDeviceHandle, NCDIMF_VIRTUALMULTISESSION); OldIsoItem = NeroImportDataTrack (ndhDeviceHandle, pVMSInfo->nvmsiNumSessions -1, &ppCDStamp, &nidti, NIITEF_IMPORT_VMS_SESSION, &nidtr, NULL); writeCD.nwcdpCDStamp = ppCDStamp; NeroFreeMem (pVMSInfo); } else { OldIsoItem = NeroImportDataTrack (ndhDeviceHandle, m_LastTrack, &ppCDStamp, &nidti, NIITEF_IMPORT_ISO_ONLY, &nidtr, NULL); writeCD.nwcdpCDStamp = ppCDStamp; } if (NULL != nidti.nidtipVolumeName) { comodin.Format ("Nombre del disco importado: %s", nidti.nidtipVolumeName); NeroFreeMem (nidti.nidtipVolumeName); AppendToLog(comodin); m_estado_de_importacion = true; } if (NIDTR_NO_ERROR != nidtr) { static LPCSTR errors[] = { "an unknown error", "a generic error", "a drive error", "a read error", "a filesystem error", }; if (nidtr > NIDTR_INVALID_FS) { nidtr = NIDTR_NO_ERROR; } comodin.Format("Ocurrió un error tratando de importar la sesion: %s ", errors[nidtr]); AppendToLog(comodin); } </input></form> I think that it is a bug in NEROAPI.DLL or a lock hidden code or anything. Tanks a lot. |
| | |
| | #2 (permalink) |
| Nero Developer Join Date: Oct 2003
Posts: 605
| There is one basic problem with your code but I am almost sure this is not the cause of your trouble. A NCDIMF_VIRTUALMULTISESSION flag is really not supposed to be used as a parameter to NeroGetVMSInfo(). No flags are yet defined for this function, so you must pass zero here. Also, please note that DVD-+RW discs may have a VMS flag set and still have zero sessions reported in nvmsiNumSessions. In this case your code would happily try to import a session whose sequence number is -1. So, you are saying that you can burn the first session successfully and all subsequent imports fail. Is this correct? |
| | |
| | #3 (permalink) |
| New on Forum Join Date: Feb 2005 Location: I live in Cholula Puebla Mexico
Posts: 7
| Re: Problem with NeroImportDataTrack to alexp Hi Alexp Tanks to response do quickly. Yes my dvd burn works fine at least two times to burn, in other words, I burn the first sesion, when finish I import the session number 0 and burn the session number 1 with information about the session 0 and new files that produces the second session...now when I try to burn the session 2 NERO can't to import this session and I can't burn subsecuent sessions. have you any idea ? tanks newerly. |
| | |
| | #4 (permalink) | |
| Nero Developer Join Date: Oct 2003
Posts: 605
| Quote:
What error do you get when import fails? You are specifying NBF_CLOSE_SESSION, aren't you? | |
| | |
| | #5 (permalink) |
| New on Forum Join Date: Feb 2005 Location: I live in Cholula Puebla Mexico
Posts: 7
| Re: Problem with NeroImportDataTrack to alexp I didn't try to impot more than 1 sesion each time. I burned the first session numbered 0 , when finish, I import it, and I create the new session numbered 1, finally when burn process finish I try to import the session numbered 1 a due to create the session numbered 2, but I get the next message: "error trying import session, a drive error" yes I was specified NBF_CLOSE_SESSION when call NeroBurn. what thing I was ommited ? |
| | |
| | #6 (permalink) |
| Nero Developer Join Date: Oct 2003
Posts: 605
| Well, I am not sure about this, but there are at least three things you can try to move the issue a step further. There could be a limitation of some kind that prevents you from burning session after session without exiting your application. Did you try exiting you application and retrying burning session 2 (assuming this is supported by your application)? As a last resort you might want to try burning a few sessions with both NeroCMD and Nero app itself and see how it goes. If this works, perhaps the problem is still in your code. What is your currently installed Nero version? |
| | |
| | #7 (permalink) |
| New on Forum Join Date: Feb 2005 Location: I live in Cholula Puebla Mexico
Posts: 7
| Re: Problem with NeroImportDataTrack to alexp I was tryed all these things inclusive burn two sessions using NERO BUNING ROM Application ... And continue with the problem without the possiblility for import session numbered > 0 NEROAPI.DLL version = 6.3.1.10 Nero Burning ROM version = 6.3.1.10 |
| | |
| | #8 (permalink) |
| Nero Developer Join Date: Oct 2003
Posts: 605
| Are you saying that Nero itself is not able to import session > 0 and burn a new one? What about NeroCMD? If you really tried all that and nothing helped, I can only advise you to try to upgrade to the most recent Nero and see if that helps. |
| | |
| | #9 (permalink) |
| New on Forum Join Date: Feb 2005 Location: I live in Cholula Puebla Mexico
Posts: 7
| Re: Problem with NeroImportDataTrack to alexp Im tankful a lot with you. I was trying to burn in DVD+RW media, and I tryed with a DVD-R ,media and SURPRISE, all works fine, I can to write & import session that are numbered > 0, just I must change media DVD i.e, use DVD-R instead of DVD+RW ... If You want, I cant share all my code to anybody in the comunity for resolve a lot of troubles that people have (I seem to much). Cheers Ramiro From a beautifull and problematic country MEXICO. |
| | |
| | #10 (permalink) | |
| New on Forum Join Date: Jun 2005
Posts: 2
| Re: Problem with NeroImportDataTrack to alexp Quote:
I`m writing a program with NeroAPI for burning CDs and DVDs. You wrote that you can deliver a code sample. Would you help me please? I´m in trouble and I would be very happy if you could help me. Thanks for your time! | |
| | |
| |
| |
![]() |
| 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 |
| alexp or someone pleas healp !! Problem with EndTrack | gapilazo | Nero SDK Discussion Forum | 2 | 01-02-2007 16:51 |
| Using NeroImportDataTrack, (NeroAPI, VC++) | FalconB | Nero SDK Discussion Forum | 1 | 12-01-2005 13:09 |
| why my NeroImportDataTrack always tell me NIDTR_INVALID_FS | daixiaofei | Nero SDK Discussion Forum | 1 | 03-12-2004 16:18 |
| Hi alexp , What is this Error? | sureei666 | Nero SDK Discussion Forum | 1 | 02-04-2004 10:49 |
| hello alexp | chouhanrakesh | Nero SDK Discussion Forum | 14 | 26-03-2004 10:43 |