Well no. I select a voice that I have registered in the registry that points to the CLSID of the python win32com dll loader, which to my understanding should then load my class. That is the way I understand SAPI works and how I got it to work with my C implementation.
My class as is can be seen on pastebin here: http://pastebin.com/MeEMycp4 On Tue, Sep 8, 2015 at 7:16 PM, Tim Roberts <t...@probo.com> wrote: > Jannie Kakpraat wrote: > > > > I'm trying to implement a SAPI com server in order to connect to a > > in-house developed TTS Engine. > > I have read chapter 5 and 12 of the book, but I am still struggling. > > My understanding is that I can > > load and register the sapi tbl file, and then just specify that my > > class is implementing the ISpTTSEngine and > > ISpObjectWithToken com interfaces as follows: > > > > > > _com_interfaces_ = ["ISpObjectWithToken", "ISpTTSEngine"] > > > > I have registered my server with a CLSID, but when I test it through > > SAPI it never even gets called. I tested my class through com client > > that I implemented and then it works fine. > > > > Have you selected your engine as the default TTS engine in the Speech > applet of Control Panel? > > -- > Tim Roberts, t...@probo.com > Providenza & Boekelheide, Inc. > > _______________________________________________ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 >
_______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32