ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / CD and DVD burning functions
  • Overview
  • Required configuration
  • How to burn a CD/DVD?
  • Remarks
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Burning a CD/DVD
Overview
Several WLanguage functions are used to burn the CDs or DVDs. You can create:
  • data CDs/DVDs.
  • audio CDs.
Remark: You can only burn files to a CD or DVD. You cannot copy a CD or DVD directly.

Required configuration

WEBDEV - Server code The CDs and the DVDs will be burned on the Web server. To burn CDs or DVDs, the server must be running Windows XP or later. To burn CDs in Windows 2003 Server, the IMAPI burn service (named "IMAPI CD-burning COM service") must be enabled. To burn DVDs in Windows 2003 Server, you also have to install the KB932716 update.
How to burn a CD/DVD?
To burn a CD/DVD:
  1. Define (if necessary) the burner to use:
    BurnerListReturns the list of burners installed on the current computer.
    BurnerPathReturns the path of the current burner.
    BurnerPropertyUsed to find out and modify the properties of the current burner.
    BurnerSelectUsed to select the default burner.
    BurnerStatusReturns the status of the current burner.
  2. Open (if necessary) the door of the current burner (BurnerEject).
    Remark: To find out whether the burner contains a support, use BurnerMediaFound.
  3. Specify (if necessary) the type of the CD/DVD to create:
    BurnerMediaInfoRetrieves the characteristics of the CD/DVD found in the current burner.
    BurnerMediaTypeUsed to find out and modify the format of the CD or DVD to burn.
  4. Erase (if necessary) the files already found on the CD/DVD via BurnerErase. A WLanguage procedure ("callback") is regularly called during this erase process. This procedure is used to manage the different events that occur.
  5. Specify (if necessary) the name that will be given to the CD/DVD to burn by using BurnerVolumeName.
  6. Select the files to burn on the CD/DVD:
    BurnerAddDirectoryAdds all the files found in a directory to the compilation.
    BurnerAddFileAdds a file to the compilation.
  7. Retrieve (if necessary) the characteristics of the compilation (BurnerCompilationInfo.
  8. Burn the selected files onto the CD/DVD with BurnerSave. A WLanguage procedure ("callback") is regularly called during this burn process. This procedure is used to manage the different events that occur.
  9. Cancel (if necessary) the current burn operation (BurnerCancel.

Remarks

  • The burn functions can be used to burn multi-session CDs.
  • The multi-session DVDs cannot be burned. However, the DVD can be copied onto the hard disk then re-burned with the new content.
Related Examples:
The Burner functions Unit examples (WINDEV): The Burner functions
[ + ] Using the main burn functions of WINDEV.
See also
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help