Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/cplusplus/141.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C++ Windows:无法在google上找到SAPI错误_C++_Windows_Sapi_Error Code - Fatal编程技术网

C++ Windows:无法在google上找到SAPI错误

C++ Windows:无法在google上找到SAPI错误,c++,windows,sapi,error-code,C++,Windows,Sapi,Error Code,我正在使用SAPI使语音可以说文本。 返回的错误代码为 -2147024888 The method "Speak" for 'ISpeechVoice' failed 但是我在谷歌上找不到这个错误代码。 我不知道为什么。 有人有什么想法吗?我希望Microsoft列出SAPI的所有可能错误代码。 页面上不存在此错误代码 谢谢你的帮助 SAPI错误代码列表是针对特定于SAPI的错误代码。可能会返回其他错误 -2147024888相当于0x80070008,它是一个Win32 HRESULT(

我正在使用SAPI使语音可以说文本。 返回的错误代码为

-2147024888

The method "Speak" for 'ISpeechVoice' failed
但是我在谷歌上找不到这个错误代码。 我不知道为什么。 有人有什么想法吗?我希望Microsoft列出SAPI的所有可能错误代码。 页面上不存在此错误代码


谢谢你的帮助

SAPI错误代码列表是针对特定于SAPI的错误代码。可能会返回其他错误

-2147024888
相当于
0x80070008
,它是一个Win32 HRESULT(E_OUTOFMEMORY);调用失败,因为某些内容(TTS引擎内部或SAPI中)无法分配足够的内存