Building Applications that Can Talk(转)
sapi.dll: %windir%\System32\Speech\Common
using SpeechLib;
SpVoice voice = new SpVoiceClass();
voice.Speak(text, SpeechVoiceSpeakFlags.SVSFDefault);
sapi.dll: %windir%\System32\Speech\Common
using SpeechLib;
SpVoice voice = new SpVoiceClass();
voice.Speak(text, SpeechVoiceSpeakFlags.SVSFDefault);