A basic ROOS (pronounced "ruse") is a little like a string table resource except that it runs in-process or out-of-process 13313n1318n as an Automation server. A ROOS provides a structured interface to a set of objects and properties that enables us to build more flexible error handling routines.
For example, the ROOS holds a project's error constants (or rather the values mapped to the symbols used in the code that are resolved from the object's type library). The ROOS also holds a set of string resources that hold the actual error text for a given error and the methods used to load and process errors at run time. To change the language used in error reports or perhaps the vocabulary being used (for example, user vs. programmer), simply use a different ROOS. (No more DLLs with weird names!)
|