On Oct 9, 2018, at 8:03 AM, Sai Ram <sairamk1...@gmail.com> wrote: > > We are using "win32com.client.Dispatch("SAPI.SpVoice")" for TTS to our > target device from a Windows 7 desktop. We are seeing many of these > exceptions: "Exception '-2147221164'". > Is there a fix for this? Basically, wanted to know the reason for this > exception and the fix for this.
COM exceptions are listed in hex. -2147221164 is 0x80040154, which is E_CLASSNOTREG. Have you installed SAPI 5.1? It's not built-in. — Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc.
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32