草庐IT

AtlThrowLastWin

全部标签

c++ - CA2W 给了我一个 "' AtlThrowLastWin3 2': identifier not found"错误

当我遵循MSDNdocument时,我遇到了一个奇怪的编译错误在VisualStudio2005中使用CA2W将big5字符串转换为unicode字符串。这是我写的代码:#include#include#includeusingnamespacestd;int_tmain(intargc,_TCHAR*argv[]){stringchineseInBig5="\xA4\xA4\xA4\xE5";ATL::CA2W(chineseInBig5.c_str());return0;}编译错误:errorC3861:'AtlThrowLastWin32':identifiernotfound我