Code |
Example |
Actions |
[G] |
C:\eBookToolsSDK\samples\
LitErrorDemo G |
- Signals LitErrorDemo.exe to stream the content from GoodArray into Litgen.dll.
- Generates goodarray.lit.
- Shows a success message on the screen: “Output file ‘goodarray.lit’ created.”
|
[W] |
C:\eBookToolsSDK\samples\
LitErrorDemo W |
- Signals LitErrorDemo.exe to stream the content from WarnArray into Litgen.dll.
- Shows a warning message on the screen: “Unrecognized content tag <broken>.”.
- Generates warnarray.lit.
- Shows a success message on the screen: “Output file ‘warnarray.lit’ created.”
|
[F] |
C:\eBookToolsSDK\samples\
LitErrorDemo F |
- Signals LitErrorDemo.exe to stream the content from BadArray into Litgen.dll.
LitErrorDemo will not create a .lit file because the content is invalid.
- 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.