[python-win32] Exception '-2147221164' while using win32com.client.Dispatch("SAPI.SpVoice")
Tim Roberts
timr at probo.com
Wed Oct 10 02:39:14 EDT 2018
On Oct 9, 2018, at 8:03 AM, Sai Ram <sairamk1989 at 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, timr at probo.com
Providenza & Boekelheide, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20181009/b18e23d5/attachment.html>
More information about the python-win32
mailing list