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


Commercial message



Nero SDK Discussion Forum Discuss, New at programming, have a problem. at International Chat: Software related forum; I have an array of filenames and their fullpaths. I would like to burn them to a CD. I looked at the sample that came with the SDK and I am confused because it is for burning audio cd's. I would like to burn a data CD. Which command


Reply
 
Thread Tools
Old 23-05-2005   #1 (permalink)
New on Forum
 
Join Date: May 2005
Posts: 1
New at programming, have a problem.

I have an array of filenames and their fullpaths. I would like to burn them to a CD. I looked at the sample that came with the SDK and I am confused because it is for burning audio cd's. I would like to burn a data CD. Which command actually starts the burning? I am a newbie and would probably need more reading. I really appreciate any help I can get. Thanks.
egalite is offline   Reply With Quote
Old 10-06-2005   #2 (permalink)
Moderator
 
Join Date: Jan 2005
Posts: 158
Re: New at programming, have a problem.

Yes, please take a look at the documents included in NeroSDK package. But to give you some hints. You can burn any kind of disk using NeroBurn(...) method where you will have to pass appropriate structs and flags depending on the disk type. For an ISO CD you will have to initialize the NERO_WRITE_CD structure and call NeroBurn(...) using NERO_ISO_AUDIO_CD for CDFormat parameter. There is of course a little bit more to do before you can call this method but to give you a detailed description here could go beyond the scope of this forum.
__________________
czykit
Nero AG
czykit is offline   Reply With Quote
Old 16-06-2005   #3 (permalink)
New on Forum
 
Join Date: Jun 2005
Posts: 6
Re: New at programming, have a problem.

yeah i would also love to have a a bit of code which could burn a array of filenames onto a CD
could anyone perhaps post some code here?
This is a very small part of a project i am working on and i dont have much time to dedicate to learning the API thoroughly
my deepest grattitude in advance
IBMer is offline   Reply With Quote
Old 16-06-2005   #4 (permalink)
CD Freaks Member
 
Join Date: Mar 2005
Posts: 109
Re: New at programming, have a problem.

You can find some (finally working) code in this thread:
http://club.cdfreaks.com/showthread.php?t=136672

Apart from the code posted there, you will need to create an array of NERO_ISO_ITEMS (with NeroCreateIsoItem) an something more, but that the core.

Be sure to add all modifications to the original posted code, ar ask the OP to post his/her final version.
Oliver M. is offline   Reply With Quote
Old 16-06-2005   #5 (permalink)
New on Forum
 
Join Date: Jun 2005
Posts: 6
Re: New at programming, have a problem.

how come the code is so long and complex?
to do a simple thing like copy from one location to a cd not caring about anything else
surely there must be a simpler way?
thanks
IBMer is offline   Reply With Quote
Old 16-06-2005   #6 (permalink)
CD Freaks Member
 
Join Date: Mar 2005
Posts: 109
Re: New at programming, have a problem.

As more an API offers, the more complex it gets. But hey, is that complex?

1) Initialize the NeroAPI.
2) Create ISO items and fill them out (plus a root directory item)
3) "chain" the ISO items together
4) create a WriteCD structure and initialize it correctly
5) call NeroBurn...
6) Correctly free allocated resources.

Ok, it's not 1,2,3, but its close to. I surely can think of many all-day tasks in Windows that are way more complex after all.
Oliver M. is offline   Reply With Quote
Old 16-06-2005   #7 (permalink)
New on Forum
 
Join Date: Jun 2005
Posts: 6
Re: New at programming, have a problem.

thank you Oliver
you have been very heplful
my sincerest thanks and keep up the good work bro
IBMer is offline   Reply With Quote
Old 17-06-2005   #8 (permalink)
CD Freaks Member
 
Join Date: Mar 2005
Posts: 109
Re: New at programming, have a problem.

You're welcome, fellow.

And you keep asking as gently for support as you do. Keep posting your coding attempts and never complaining about free gifts.

Seriously, why not have a look at Nero Fiddles example?
Oliver M. 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
Programming Help YounwhaStudent Nero SDK Discussion Forum 1 16-04-2005 02:30
If you know about java programming please try and help me Nush General Software 1 15-11-2004 18:03
C++ programming in windows Donald_Duck General Software 10 05-01-2003 11:46


All times are GMT +2. The time now is 08:07.


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