PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Required configuration
  • How to burn a CD/DVD?
  • Notes
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Note: You can only burn files to a CD or DVD. You cannot copy a CD or DVD directly.

Required configuration

WINDEV Burning CDs is available for Windows XP and later. Burning DVDs is available for Windows Vista and for Windows XP when using the KB932716 update for Windows XP (this update must be downloaded from the Microsoft site and installed manually because it is not taken into account by the Live Update mechanism).
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:
    Versions 10 and later
    BurnerList
    New in version 10
    BurnerList
    BurnerList
    Returns the list of burners installed on the current computer.
    Versions 10 and later
    BurnerPath
    New in version 10
    BurnerPath
    BurnerPath
    Returns the path of the current burner.
    Versions 10 and later
    BurnerProperty
    New in version 10
    BurnerProperty
    BurnerProperty
    Used to find out and modify the properties of the current burner.
    Versions 10 and later
    BurnerSelect
    New in version 10
    BurnerSelect
    BurnerSelect
    Used to select the default burner.
    Versions 10 and later
    BurnerStatus
    New in version 10
    BurnerStatus
    BurnerStatus
    Returns the status of the current burner.
  2. Open (if necessary) the door of the current burner (BurnerEject).
    Versions 17 and later
    Note: To find out whether the burner contains a support, use BurnerMediaFound.
    New in version 17
    Note: To find out whether the burner contains a support, use BurnerMediaFound.
    Note: To find out whether the burner contains a support, use BurnerMediaFound.
  3. Specify (if necessary) the type of the CD/DVD to create:
    Versions 10 and later
    BurnerMediaInfo
    New in version 10
    BurnerMediaInfo
    BurnerMediaInfo
    Retrieves the characteristics of the CD/DVD found in the current burner.
    Versions 10 and later
    BurnerMediaType
    New in version 10
    BurnerMediaType
    BurnerMediaType
    Used 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:
    Versions 10 and later
    BurnerAddDirectory
    New in version 10
    BurnerAddDirectory
    BurnerAddDirectory
    Adds all the files found in a directory to the compilation.
    Versions 10 and later
    BurnerAddFile
    New in version 10
    BurnerAddFile
    BurnerAddFile
    Adds 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.

Notes

  • 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.
WD Burner Lite Complete examples (WINDEV): WD Burner Lite
[ + ] This example presents the operating mode of the burn functions "Burner*".
This example enables you to burn CD, DVD or Blu-Ray disks.
WD Burner Lite Complete examples (WINDEV): WD Burner Lite
[ + ] This example presents the operating mode of the burn functions "Burner*".
This example enables you to burn CD, DVD or Blu-Ray disks.
See also
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment