----- Original Message ----- > From: Marcos Douglas <m...@delfire.net> > To: Leonardo M. Ramé <martinr...@yahoo.com>; FPC-Pascal users discussions > <fpc-pascal@lists.freepascal.org> > Cc: > Sent: Wednesday, March 14, 2012 12:05 PM > Subject: Re: [fpc-pascal] Burn a CD > > On Wed, Mar 14, 2012 at 7:42 AM, Leonardo M. Ramé <martinr...@yahoo.com> > wrote: >> If you think in the future your app must work in another OSes, maybe a >> better solution is to use cdrecord, it has everything you need (CD, DVD, >> BluRay) . Here's the Win32 >> version http://www.student.tugraz.at/thomas.plank/ >> >> We run it using TProcess, then parse the results and show them on screen. > > Interesting. Could you give an example how do you use it, please? > You do not translated the headers, just use the binaries, rigth?
I don't have a small example, but basically the process is very simple. First, you need to create an ISO image with mkisofs, part of the CDRtools bundle, then use "cdrecord -scanbus" to get a list of drives, and the last step is to use cdrecord to burn the ISO image into the drive. Regarding the 2nd question, I just use the binaries. Leonardo M. Ramé http://leonardorame.blogspot.com _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal