Registering Your Recognizer DLL
Your recognizer DLL must be registered for the Tablet PC Platform to use it. The recognizer must make the following changes to the registry at installation.
Add a new key for each of the CLSIDs of your recognizer under the HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/TPG/Recognizers/ registry key. Add one CLSID per language. The following table describes the values that should be added underneath each of the keys containing your CLSIDs.
Note
The names of these values are case sensitive.
Value name | Value type | Value description |
---|---|---|
Recognizer Capability Flags |
REG_DWORD |
DWORD used to determine the capabilities of the recognizer. |
Recognizer DLL |
REG_SZ |
Full path to the installed recognizer DLL. |
Recognized Languages |
REG_BINARY |
Binary array describing the language or languages that a recognizer is designed to work with. In rectypes.h, the MAX_LANGUAGES define specifies the maximum number of languages supported by a recognizer, and each language takes a WORD to store in the "Recognized Languages" item. The size of the REG_BINARY registry entry should be MAX_LANGUAGES * sizeof(WORD). |