I need to burn CD/DVD disks from my C++ program. Can you recommend me a method?
Edit: The platform is Windows.
I need to burn CD/DVD disks from my C++ program. Can you recommend me a method?
Edit: The platform is Windows.
Why not call a cdrecord or growisofs or whatever console utility?
That's easy, doesn't requires anything, just drag that small executable with you. They are also known to work just fine.
On windows you can use the "Image Mastering API".
Check it out here
On Windows, I have previously used the IMAPI2 interface very successfully. This site gives a really good set of sample code for this. You may need to extensively modify the code for your implementation, but it works, and works well.
One thing about the IMAPI2 interface; it's what you pretty much need to use if you're going to be writing to DVDs, as previous iterations of the IMAPI interface had inconsistent handling of writing to DVDs.