PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Compilation
  • Presence of a CD in the burner
  • Multi-session CD and DVD
  • Required configuration
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
BurnerMediaType (Function)
In French: GraveurTypeMédia
Allows you to find out and modify the format of the CD or DVD to burn. The CD or DVD is a data CD or DVD by default.
Note: The current compilation is automatically deleted when the type of the CD or DVD to burn is modified.
Example
// Burn a data CD
BurnerMediaType(médiaType_CD_ROM_XA)
...
// Add the files
BurnerAddFile("C:\MyDirectory\MyFileA.TXT", "\MyFiles\FileA.TXT")
BurnerAddFile("C:\MyDirectory\MyFileB.TXT", "\MyFiles\FileB.TXT")
...
// Burn the CD
BurnerSave("MyCD")
Syntax

Modifying the type of CD or DVD Hide the details

<Result> = BurnerMediaType(<Type of CD or DVD>)
<Result>: Boolean
  • True if the modification was taken into account,
  • False otherwise. To find out the error details, use ErrorInfo associated with the errMessage constant.
<Type of CD or DVD>: Integer constant
Type of CD or DVD:
mediaType_CD_ROM_XAData CD.
The CD will be created in "Track at Once" mode.
The data will be written with the Joliet and ISO 9660 specifications.
Other files can be added and existing files can be updated thereafter.
mediaType_CDDA_CDROMAudio CD.
The CD will be created in "Track at Once" mode (fixed-size pause between tracks).
No other audio or data files can be added thereafter.
mediaType_DataData CD or DVD.
The CD or DVD will be created in "Track at Once" mode.
The data will be written with the Joliet and ISO 9660 specifications.
On a CD only, other files can be added or the existing files can be updated thereafter.
Note: No audio DVD can be burnt.

Finding out the type of CD Hide the details

<Result> = BurnerMediaType()
<Result>: Integer constant
Type of CD or DVD:
mediaType_CD_ROM_XAData CD.
The CD will be created in "Track at Once" mode.
The data will be written with the Joliet and ISO 9660 specifications.
Other files can be added and existing files can be updated thereafter.
mediaType_CDDA_CDROMAudio CD.
The CD will be created in "Track at Once" mode (fixed-size pause between tracks).
No other audio or data files can be added thereafter.
mediaType_DataData CD or DVD.
The CD or DVD will be created in "Track at Once" mode.
The data will be written with the Joliet and ISO 9660 specifications.
On a CD only, other files can be added or the existing files can be updated thereafter.
Note: No audio DVD can be burnt.
Remarks

Compilation

A compilation corresponds to the set of files that must be burned on a CD or DVD. This compilation will be taken into account during the next call to BurnerSave.
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.
WINDEVWEBDEV - Server codeReports and QueriesUser code (UMC)

Presence of a CD in the burner

To find out the type of a CD, the CD must be inserted into the burner. To modify the type of a CD, the CD inserted into the burner must have enough space to burn a new session.
WINDEVWEBDEV - Server codeReports and QueriesUser code (UMC)

Multi-session CD and DVD

The data CDs can be multi-session CDs: you have the ability to add other files or to modify the existing files thereafter.
This feature is not available:
  • For the audio CDs
  • For the data DVDs.
Tip: To add data to a DVD for example:
  1. Copy the DVD content onto the hard drive.
  2. Erase the DVD.
  3. Re-burn the DVD with the new content.

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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230grv.dll
Minimum required version
  • Version 10
This page is also available for…
Comments
Click [Add] to post a comment