cd-burning

Windows CD Burning API

岁酱吖の 提交于 2019-11-27 16:26:45
问题 We need to programatically burn files to CD in a C\C++ Windows XP/Vista application we are developing using Borlands Turbo C++. What is the simplest and best way to do this? We would prefer a native windows API (that doesnt rely on MFC) so as not to rely on any third party software/drivers if one is available. 回答1: We used the following: Store files in the directory returned by GetBurnPath, then write using Burn. GetCDRecordableInfo is used to check when the CD is ready. #include <stdio.h>

Reading and Writing to a DVD/CD - Java [closed]

情到浓时终转凉″ 提交于 2019-11-27 02:49:47
问题 I'm working on a application called LMCT(Let Me Copy That) and it is programed in Java, I just need to know how to burn to a DVD/CD from java. any example, API or link is welcome. 回答1: I've done this using COM4J and IMAPI (works on Windows only). This sample code burns an ISO file using the first CD recording device in the system: File isoFile = new File("myimage.iso"); IDiscMaster2 dm = ClassFactory.createMsftDiscMaster2(); int count = dm.count(); //Pick the first recorder on the system