Hi all !
I have a software that Convert text to Speech and it support SAPI5 Interface.
In VS2010 i browsed to it's installed foder and found it. It's name NHMTTSENGLib.dll.
When i add it to references of my project but I don't now how to use it...
A function that I needed is : Speak(uint, ref System.Guid, ref NHMTTSENGLib.WAVEFORMATEX, ref NHMTTSENGLib.SPVTEXTFRAG, NHMTTSENGLib.ISpTTSEngineSite) .
of course I have considered many example in SAPI5 and read many references in
http://msdn.microsoft.com/en-us/library/ms719574(v=vs.85).aspx
But i don't see any code sample for that..
How can I implement a TTS engine to my project..
I need some code example that use
Speak( DWORDdwSpeakFlags, REFGUIDrguidFormatId,constWaveFormatEx *pWaveFormatEx, constSPVTEXTFRAG *pTextFragList,ISpTTSEngineSite *pOutputSite);
Thanks for Watching !