2021-04-12

eSpeak bug

It looks like eSpeak is not being detected correctly when only the 64 bit version of it has been installed, I’m investigating this.

It turns out that I was cchecking for eSpeak presence in the registry for a key of HKEY_LOCAL_MACHINESOFTWAREClassesTypeLib{7192AA2F-F759-43E9-91E7-226371EF6B2F}\1.0win32
but it also turns out that both the 32 and 64 bit installs have an entry at HKEY_CLASSES_ROOTTypeLib{7192AA2F-F759-43E9-91E7-226371EF6B2F}1.0.

Wren comes with it’s own set of eSpeak DLL files one for 32 bit and one for 64 bit use, but it still needs eSpeak to be installed or otherwise the eSpeak based module will just crash while trying to initialize the DLL. So from now on Wren will check just the HKEY_CLASSES_ROOTTypeLib{7192AA2F-F759-43E9-91E7-226371EF6B2F}1.0 key to be present without doing anything with the DLL it points at, and just blindly assuming that eSpeak will (still) be present.

This works when a 32 bit eSpeak was installed, will have to await reports for a 64 bit installation (I locally have a 32 bit installation which will work with 64 bit apps as well).

Add comment

Fill out the form below to add your own comments



and please solve the "anti bot puzzle", when it is unreadable or otherwise unresolvable you can refresh the page (F5)

the answer must be entered as a number (in digits)

questions questions