Loading the Main Dictionary (Windows)

The TextToSpeechStartup call attempts to find the entry for the DECtalk Software main pronunciation dictionary in the registry at:

REGISTRY KEY:

HKEY_LOCAL_MACHINE
\SOFTWARE\DigitalEquipmentCorporation\DECtalk\vers\language_code

Value: MainDict

and is set to value:

[user selected dir]\system\dectalk.dic

Replace vers using the format x.xx in the path designation with the current version number for the DECtalk Software, such as 4.50.

Replace

language_code with the designation for the appropriate language, such as US for United States English, GR for German, LA for Latin American Spanish, or UK for United Kingdom English.

If the MainDict entry cannot be found, then the TextToSpeechStartup call defaults to looking in the application

’s default directory for DECTALK.DIC to be loaded as the main pronunciation dictionary.

If the main pronunciation dictionary fails to be loaded, then the TextToSpeechStartup call returns a value of MMSYSERR_ERROR.

Related topics