ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Windows functions / CD and DVD burning functions
  • Compilation
  • Required configuration
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
BurnerSelect (Function)
In french: GraveurSélectionne
Allows you to select the default burner. This burner will be used by default by all the burner functions.
Remark:
  • By default, the burner used corresponds to the first burner returned by BurnerList.
  • The current compilation is automatically deleted when the default burner is selected.
WEBDEV - Server code The current burner is accessible from the Web server.
Example
// Find out the burners installed
Burner_List is string
Burner_List = BurnerList()
IF Burner_List ~= "" THEN
Error("No burner was detected on the computer")
RETURN
END
// Fill the TABLE_Burner table with the list of burners
ABurner, PathOfBurner are strings
 
FOR EACH STRING ABurner OF Burner_List SEPARATED BY CR
// Select the burner
IF BurnerSelect(ExtractString(ABurner, 1)) = False THEN
Error("Failure selecting the burner", ErrorInfo())
RETURN
END
// Path of current burner
PathOfBurner = BurnerPath()
// Add into the table
TableAddLine(TABLE_Burner, PathOfBurner, ABurner)
END
Syntax
<Result> = BurnerSelect(<Burner>)
<Result>: Boolean
  • True if the burner was selected,
  • False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
<Burner>: Integer or character string
Index or identifier of the burner, returned by BurnerList.
Remarks

Compilation

The burner functions are available for Windows XP and later.
A compilation corresponds to the set of files that must be burned on a CD or DVD. This compilation will be taken into account next time BurnerSave is called.
A compilation is automatically created during the first call to BurnerAddFile or to BurnerAddDirectory. A single compilation can be created at a time.
A compilation is automatically deleted:
  • when changing the type of CD/DVD to burn (BurnerMediaType).
  • when selecting the default burner (BurnerSelect).
  • after the call to BurnerSave (only if the burn process was started, <Result> is set to True).
  • when canceling the burn process (BurnerCancel).
  • when closing the current WINDEV application or WEBDEV site.

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.
Component: wd290grv.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help