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呢