[fpc-pascal] Burn a CD

Marcos Douglas md at delfire.net
Fri Mar 23 16:50:26 CET 2012


On Thu, Mar 15, 2012 at 7:57 AM, Leonardo M. Ramé <martinrame at yahoo.com> wrote:
> ----- 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.

Today I'm back to this problem.
I downloaded the CDRtools (it need cygwin too).
I burned the files on the CD-R... very good!

But I still have a problem:
The CD or DVD will have many files so, recording may take much time.
How do you show to user the progress?

Marcos Douglas



More information about the fpc-pascal mailing list