ostc
Registry Keys
The DataView Reader registry keys are logically split into the following categories: metaknowledge location, string encoding, string handling, and navigation handling.
Metaknowledge Location
The DataView Reader task is to expose data views defined in Inspector. The knowledge about these data views is called metaknowledge, and can be stored by Inspector in different locations, according to its settings.
The key "Where to save" (REG_DWORD) can contain the following values:
String Encoding
Character strings can be encoded in a wide variety of formats inside a database. Inspector and the DataView Reader let you specify the default encoding type of the character strings stored in your databases (this default can be overridden on a per-class basis in each database, using Inspector). The DataView Reader always returns strings in ASCII or SJIS encoding type.
The default character string encoding is stored in the "AttributeFormatDisplayingDefault" (REG_DWORD) key. The possible values are
The "UseJapaneseRegex" (REG_DWORD) registry key contains information on whether the DataView Reader must invoke the Japanese-compliant version of the regular expression parser used in the queries:
String Handling
Strings can be stored in buffers of characters in many different ways. Inspector and the DataView Reader let you specify the default way in which strings stored inside your databases should be retrieved (this default can be overridden on a per-class basis in each database, using Inspector).
The default setting is stored in the "AttributeFormatInterpretationDefault" (REG_DWORD) key. The possible values are
In all the preceding cases, if the resulting string is longer than the Blob Size, the string is not displayed, and the "XXX bytes at address 0x123456" message is returned. The Blob Size is stored in the "MaxNonBinaryBlobSize" (REG_DWORD) registry key (the default is 768).
The "SingleCharacterFormat" (REG_DWORD) key contains information about how to report single-character data members:
Navigation Handling
When a data view uses a data member that represents a one-to-many or many-to-many relationship, Inspector and the DataView Reader can choose between two possible algorithms. Information about which algorithm should be used is stored in the "OLEDB SQL-like join" (REG_DWORD) registry key:
Usually a tree-like view is more readable, but an SQL-oriented tool such as a report generator cannot easily use it. In the SQL-like view, if you navigate multiple one-to-many relations in a row, the number of generated rows is much greater than in the tree-like view.
ostc
This class is used by both the client and the Server. It defines the functions the client uses to set the router and to connect to and disconnect from a Component Server. It also defines an enumeration relating to the fundamental types of data Servers and thin clients can exchange, as well as an enumeration relating to transaction types.
[previous] [next]