求助!E2108 Improper use of typedef SpVoice是什么错误?
求助!E2108 Improper use of typedef SpVoice是什么错误?
在BCB6中使用SpVoice->Speak(pwText,0);时总是与MediaPlayer冲突,这是为什么?
也与ImageClick等事件冲突!
求助!
源代码:
char sText[15];
strcpy(sText,WordCh.c_str());
int dwNum = MultiByteToWideChar (CP_ACP, 0, sText, -1, NULL, 0);
wchar_t *pwText;
pwText = new wchar_t[dwNum];
MultiByteToWideChar (CP_ACP, 0, sText, -1, pwText, dwNum);
if(!pwText)
{
delete []pwText;
}
SpVoice->Speak(pwText,0);