Home | Sign in | English US
  • Block
  • Required configuration
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
BurnerCompilationInfo (Function)
In French: GraveurInfoCompilation
Retrieves the characteristics of current compilation.
Note: A compilation corresponds to the set of files that must be burnt 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.
// Characteristics of compilation
ResNbTracks, ResBlocks, ResBlockSize are int
ResNbTracks = BurnerCompilationInfo(compilationNumberAudioTracks)
ResBlocks = BurnerCompilationInfo(compilationBlocksUsed)
ResBlockSize = BurnerCompilationInfo(compilationBlockSize)

Info("The compilation contains: " + ResNbTracks + " tracks ", ...
"and it is using " + ResBlocks + " blocks of " + ResBlockSize + " bytes each.")
<Result> = BurnerCompilationInfo(<Type of Characteristic>)
<Result>: Integer constant
  • Requested characteristic,
  • -1 if an error occurred. To find out the error details, use ErrorInfo associated with the errMessage constant.
This function cannot be used if no CD is inserted into the burner.
<Type of Characteristic>: Integer constant
Type of characteristic to retrieve:
compilationBlocksUsedNumber of blocks found in the current compilation.
This number is updated after each call to BurnerAddFile or BurnerAddDirectory.
  • Number of audio tracks found in the current compilation.
  • 0 if the current compilation is a data compilation.
This number is updated after each call to BurnerAddFile or BurnerAddDirectory.
compilationBlockSizeSize of block (in bytes).
The block size depends on the type of compilation (data or audio).


  • The CD size is expressed in blocks.
  • A block corresponds to 2048 bytes on a data CD and to 2352 bytes on an audio CD.
  • A second on the CD corresponds to 75 blocks.

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