首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

VS2005中在Mobile5.0模拟器下创建菜单出错error LNK2019: unresolved external symbol SHCreateMen

2012-03-25 
VS2005中在Mobile5.0模拟器下创建菜单出错error LNK2019: unresolved external symbol SHCreateMenuBar re

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呢

热点排行