LitErrorDemo.exe

LitErrorDemo.exe is a C++ application that demonstrates how to handle error messages generated by Litgen.dll. It contains a package array and 3 content arrays.

Note: This tool takes no user input. 

LitErrorDemo.exe has three arrays containing tagged data that is streamed into Litgen.dll.  These arrays contain:

Array Content Action File Save Location
GoodArray Proper OEB content. This produces a “Success” message, and builds a .lit file with the data from the array.  The generated .lit file, (GoodArray.lit), is saved in the same directory as LitErrorDemo.exe.
WarnArray Proper OEB content, plus one unrecognized tag. This produces a “Warning” error, and builds a .lit file with the data from the array.  The generated .lit file, (WarnArray.lit), is saved in the same directory as LitErrorDemo.exe.
BadArray Malformed content (an invalid <img> tag). This produces a “Fatal” error, and does not build a .lit file. N/A

This tutorial includes:

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