Craig Miller
2009-03-02 09:46:08 UTC
I'm writing a phone menu system which uses Microsoft SAPI to speak text files
but it's not firing any of its events. I know I need to call SetInterest on
the SpVoice object but what parameters do I pass in?
In C++ you have SPFEI and SPEVENTENUM but what do I use in C#? I tried
passing in Convert.ToUInt64(2) for SPEI_END_INPUT_STREAM and I get an error
saying that the value isn't in the expected range.
but it's not firing any of its events. I know I need to call SetInterest on
the SpVoice object but what parameters do I pass in?
In C++ you have SPFEI and SPEVENTENUM but what do I use in C#? I tried
passing in Convert.ToUInt64(2) for SPEI_END_INPUT_STREAM and I get an error
saying that the value isn't in the expected range.