Re: [fpc-pascal] Burn a CD

2012-03-14 Thread Mark Morgan Lloyd
Marcos Douglas wrote: On Wed, Mar 14, 2012 at 7:42 AM, Leonardo M. Ramé 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.p

Re: [fpc-pascal] Burn a CD

2012-03-14 Thread Marcos Douglas
On Wed, Mar 14, 2012 at 7:42 AM, Leonardo M. Ramé 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

Re: [fpc-pascal] Burn a CD

2012-03-14 Thread Marcos Douglas
On Wed, Mar 14, 2012 at 4:26 AM, stootch wrote: > W dniu 13.03.2012 14:13, Marcos Douglas pisze: > >> Hi, >> >> Anyone knows how burn a CD using the Windows API (should works in XP and >> Vista)? > > > Take a look at: > http://blog.delphi-jedi.net/2009/07/18/im-burning-baby/ > > Porting to FPC/Laz

Re: [fpc-pascal] Burn a CD

2012-03-14 Thread Marcos Douglas
On Tue, Mar 13, 2012 at 10:10 PM, Jorge Aldo G. de F. Junior wrote: > > you should : > > 1 - Learn to use ASPI.dll (wich is basically a way to send ATAPI > commands to the device). > 2 - Learn ATAPI commands (ATAPI is more or less SCSI commands sent > over SATA/PATA layer). Well, thanks... but I

Re: [fpc-pascal] Burn a CD

2012-03-14 Thread Leonardo M . Ramé
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.

Re: [fpc-pascal] Burn a CD

2012-03-14 Thread stootch
W dniu 13.03.2012 14:13, Marcos Douglas pisze: Hi, Anyone knows how burn a CD using the Windows API (should works in XP and Vista)? Take a look at: http://blog.delphi-jedi.net/2009/07/18/im-burning-baby/ Porting to FPC/Lazarus (if any) should be straightforward. stootch _