[fpc-pascal] Burn a CD

Leonardo M. Ramé martinrame at yahoo.com
Thu Mar 15 11:57:49 CET 2012

----- Original Message -----

> From: Marcos Douglas <md at delfire.net>
> To: Leonardo M. Ramé <martinrame at yahoo.com>; FPC-Pascal users discussions <fpc-pascal at 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é <martinrame at 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é

More information about the fpc-pascal mailing list