语音合成:#include<sapi.h>#pragmacomment(lib,"ole32.lib")//CoInitializeCoCreateInstance需要调用ole32.dll#pragmacomment(lib,"sapi.lib")//sapi.lib在SDK的lib目录,必需正确配置intmain(intargc,char*argv[]){ISpVoice*pVoice=NULL;//COM初始化:if(FAILED(::CoInitialize(NULL))...
查看全文