Hi,
I'm installing my application which uses TextDynamic with the spell checker switched on, under Windows 7.
When installed on a pristine clean Win7, the spell checker dictionaries fail to load. But they load just fine under Vista and WinXP
Here is the code sample i'm using
wpTextDynamic.SetLayout("c:\Program files\MyAPP\wpButtonsDefault.pcc"), "default", String.Empty, "main", "main");
// the following line fails under windows 7
wpTextDynamic.SpellCtrl.AddFromPath("c:\Program files\MyAPP\wpDictionaries");
wpTextDynamic.SpellCtrl.SetLanguage("9"); // English
wpTextDynamic.wpaProcess("SpellAsYouGo", "1");
The specified directory does indeed have the .dct files (7 in all i think).
I've chosen not to use an ini file or a registry entry to initialise the control (I want to keep the target machine as clean as possible), and doing it like this works beautifully under WinXp and Vista.
The usual tricks using Win7 of "running as administrator" or "running in XP sp3 compatibility mode" makes no difference. Neither does the location of the directory, or the NTFS permissions on that directory.
I've checked with the sysinternals process monitor and found that when the "AddFromPath" line is executed, that all *.dct files in that directory are enumerated, but they then appear to be ignored.
Does anyone else have this problem?
If so is it possible to request a bugfix?
Thanks