升级到VS2005 SP1后,原本以前一切都很顺利的WM5工程出现的问题:
1. 大量的Warning消息-
warning LNK4099: PDB 'libbmt.pdb' was not found with 'C:\Program Files\Microsoft Visual Studio 8\VC\ce\lib\ARMV4I\LIBCMT.lib' or at 'c:\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\Ctxmenu\Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\Release\libbmt.pdb
在工程属性C/C++->Code Generation->Buffer Secruity Check->选NO(/GS-)就ok
2. error LNK2019: unresolved external symbol __GSHandlerCheck referenced in function "int __cdecl InitInstance(struct HINSTANCE__ *,int)" (?InitInstance@@YAHPAUHINSTANCE__@@H@Z)
工程属性linker->input->Ignore all default libraries->选NO里面去掉/NODEFAULTLIB就ok啦。