在播放声音文件时为什么包含MdaAudioSamplePlayer.h就会连接错?
我开始怀疑是代码错,但我删除了几乎所有可以删除的代码,再包含这个头文件,依然报错.不知道哪位高手能够帮助一下,谢谢.错误如下:
\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\mmf\common\mmfcontroller.h(336) : error C2059: syntax error : 'constant'
\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\mmf\common\mmfcontroller.h(336) : error C2238: unexpected token(s) preceding ';'
\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\MdaAudioSamplePlayer.h(149) : error C2059: syntax error : 'constant'
\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\MdaAudioSamplePlayer.h(149) : error C2238: unexpected token(s) preceding ';'
\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\mmf\common\mmfcontroller.h(336) : error C2059: syntax error : 'constant'
\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\mmf\common\mmfcontroller.h(336) : error C2238: unexpected token(s) preceding ';'
\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\MdaAudioSamplePlayer.h(149) : error C2059: syntax error : 'constant'
\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\MdaAudioSamplePlayer.h(149) : error C2238: unexpected token(s) preceding ';'
Project1container.cpp
\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\mmf\common\mmfcontroller.h(336) : error C2059: syntax error : 'constant'
\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\mmf\common\mmfcontroller.h(336) : error C2238: unexpected token(s) preceding ';'
\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\MdaAudioSamplePlayer.h(149) : error C2059: syntax error : 'constant'
\Symbian\7.0s\Series60_v20\EPOC32\INCLUDE\MdaAudioSamplePlayer.h(149) : error C2238: unexpected token(s) preceding ';'