Using the Win32 API for File Handling

The Lingo object uses the Win32 API to check, load, and write the files involved in building HTML pages from XML template files and lingo.xml. The LitWare developers preferred this alternative to using the Scripting FileSystemObject object. Because FileSystemObject is a wrapper for many of the same Win32 functions, their decision removed a layer of abstraction and promises better performance.

The Lingo object uses three Win32 API functions. See Type and Function Declarations in LingoDeclaration.bas for a discussion of the functions and custom data types that the Lingo object uses.

Handling the Files discusses how these data types and functions are used when the Lingo object creates HTML pages for a new locale.