How File Viewers Are Instantiated

The system doesn't directly call a file viewer; instead, it starts an instance of QUIKVIEW.EXE for each file to be viewed. QUIKVIEW is a program that starts the file viewing process and creates a message queue for file viewers. The program then associates a path with a file viewer, instantiates the file viewer object, and tells the file viewer to load and display the file. At this point, QUIKVIEW turns over execution of the process it created to the file viewer until the file viewer shuts down. When determining which file viewer to instantiate, QUIKVIEW uses one of these three methods:

If a file type is registered but the system can't find its file viewer, or if the Quick View operation fails, QUIKVIEW displays the message There is no viewer capable of viewing <type of file> files.