How do you use 'cdrw' within an application?

From: M Sudderth (msudderth_at_sfa.com)
Date: 12/01/03

  • Next message: Logan Shaw: "Re: How do you use 'cdrw' within an application?"
    Date: 1 Dec 2003 13:03:56 -0800
    
    

    I'm using a Plextor PX-W1210TSE CD-RW drive on a Solaris 8 system.

    I'm writing an application in C++ and need to be able to burn
    files/image to a CD from within the application.

    'cdrw' may be able to be used, but it's a command-line command. I may
    be able to use the "system" operation:
     i.e.
        system("mkisofs -r <directory> 2>/tmp/cdrw_log | cdrw -i -p 4");

    But errors can not be returned to the calling application. This will
    only
    work in the "happy day" scenario.

    Does anyone know how to write/burn files from inside an application?

    Surely, there must be a cleaner way.

    M Sudderh
    msudderth@sfa.com


  • Next message: Logan Shaw: "Re: How do you use 'cdrw' within an application?"
  • Quantcast