SpeechSynthesizer synth = new SpeechSynthesizer();
synth.Speak("你好,請閱讀以下語錄");
VS2010下,就這2句代碼報錯, 在win7 64位機器
debug看了,有下列錯誤提示:
Voice = “synth.Voice”引發了型別“System.PlatformNotSupportedException”的例外
..
VoiceSynthesizer = “synth.VoiceSynthesizer”引發了型別“System.PlatformNotSupportedException”的例外
...
轉載請註明出處,本文鏈接:https://www.uj5u.com/caozuo/132627.html
標籤:Windows客戶端使用
