升級(jí)到VS2005 SP1后,原本以前一切都很順利的WM5工程出現(xiàn)的問(wèn)題:
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啦。