Share via


Windows Media Player 11 SDK Compiling a Catalog Update from Full Catalogs 

Windows Media Player SDK banner art

Previous Next

Compiling a Catalog Update from Full Catalogs

A catalog update containing the changes between two versions of a compiled catalog can be created by using the syntax below, where path1 is the directory containing the first catalog, path2 is the directory containing the second catalog, and debug can be optionally included to display detailed error information on the screen. The catalog files must be in uncompressed form—the file name of the compiled catalog would be catalog.wmdb, rather than catalog.wmdb.lz.

  

For example, if the C:\Catalog210\ directory contains version 210 of a full compiled catalog and C:\Catalog211\ contains version 211, the following command creates a difference file that contains the changes between the two versions:

  \\

To display detailed error information, you can add the optional debug parameter as follows:

  

If compilation is successful, catcomp.exe creates the output files listed below and saves them in the directory that contains the first catalog.

File name Description
catalog.diff Uncompressed compiled difference file.
catalog.diff.lz Compressed version of catalog update file. Your plug-in can give the location of this file to Windows Media Player in IWMPContentPartner::GetCatalogURL.
catalog.wmdb.delta Intermediate output file. Not used by Windows Media Player
catalog.wmdb.modified Intermediate output file. Not used by Windows Media Player
Previous Next