>>> Peter Parente schrieb:
>>>> Hi,
>>>>
>>>> I'm trying to use the SAPI5 SPVoice interface through comtypes, but I
>>>> don't seem to be getting any events.

>> This is my first attempt. If older versions are available, I can try
>> them to see if any work.
>>
>> Pete
>>
> 
> I tried with comtypes-0.6.1 and 0.5.3 on both Python 2.5.2 and 2.6.2.
> I get no output about events from ShowEvents in either case while in
> the PumpEvents loop.
> 
> To make sure SAPI is set to fire events (which MSDN says it is by
> default, but you never know), I also tried setting property
> tts.EventInterests to SVEAllEvents. Still, no luck.
> 
> As a side note, I do get events when accessing SAPI5 using the
> win32com package. Wrapping the SAPI.SpVoice instance with WithEvents
> works as expected.

Ok, at least this confirms that it SHOULD work.  I'll try to find
the problem but it may take a while.

-- 
Thanks,
Thomas


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to