LitErrorDemo.exe Interface

Code Example Actions
[G] C:\eBookToolsSDK\samples\
LitErrorDemo   G
  1. Signals LitErrorDemo.exe to stream the content from GoodArray into Litgen.dll.

  2. Generates goodarray.lit.

  3. Shows a success message on the screen: “Output file ‘goodarray.lit’ created.”
[W] C:\eBookToolsSDK\samples\
LitErrorDemo   W
  1. Signals LitErrorDemo.exe to stream the content from WarnArray into Litgen.dll.

  2. Shows a warning message on the screen: “Unrecognized content tag <broken>.”.
  3. Generates warnarray.lit.

  4. Shows a success message on the screen: “Output file ‘warnarray.lit’ created.”
[F] C:\eBookToolsSDK\samples\
LitErrorDemo   F
  1. Signals LitErrorDemo.exe to stream the content from BadArray into Litgen.dll.
    LitErrorDemo will not create a .lit file because the content is invalid. 

  2. Shows a fatal error message on the screen: “Referenced item ‘css’ is of the wrong mime type.”

The generated .lit files, (goodarray.lit, warnarray.lit), are saved in the same directory as LitErrorDemo.exe.  Every time you run LitErrorDemo, these files are overwritten.

© 2000 Microsoft Corporation. All rights reserved. Terms of use.