CFGCODE: Generating a Packed Property Structure

The CFGCODE sample application demonstrates how to create a packed property structure that can be unpacked using the HrCfgUnpackData function. It uses a text file containing a list of MAPI properties, and produces a file containing the binary packed property structure. You can specify the name of the input file section to read from, and a configuration name to be placed at the front of the resulting packed (binary format) property structure. For more information, see Creating the Directory Object.

The file you create with CFGCODE can provide default extension data for a server application.

For usage information, type CFGCODE /? at the command prompt.

    To build CFGCODE
  1. Change to the directory containing the CFGCODE source files:

    \BKOFFICE\SAMPLES\EXCHANGE\CFGCODE

  2. Type NMAKE.