读书人

VS2005中在Mobile5.0模拟器下创建菜单

发布时间: 2012-03-25 20:55:17 作者: rapoo

VS2005中在Mobile5.0模拟器下创建菜单出错error LNK2019: unresolved external symbol SHCreateMenuBar referenced
将Pocket PC模拟器下的程序转到MObile5.0下时,运行初夏一下错误:error LNK2019: unresolved external symbol SHCreateMenuBar referenced in function "public: long __cdecl CWMPHost::OnCreate(unsigned int,unsigned int,long,int &) " (?OnCreate@CWMPHost@@QAAJIIJAAH@Z)怎么回事?小女子请教高手啦!

[解决办法]
This function returns TRUE if it is successful and FALSE if it fails

SHCreateMenuBar will fail for a Windows Mobile 5.0-based Smartphone

mbi.dwFlags 置了么?? 置 人你建什么的menuBar呢

读书人网 >C++

热点推荐