error LNK2005: "class ATL::CStringT<wchar_t,class StrTraitMFC_DLL<wchar_t,class ATL::ChTraitsCRT<wchar_t> > > __cdecl GetAppPath(void)" (?GetAppPath@@YA?AV?$CStringT@_WV?$StrTraitMFC_DLL@_WV?$ChTraitsCRT@_W@ATL@@@@@ATL@@XZ) 已经在 AutoUpdate.obj 中定义
原因:
AutoUpdate.cpp中包含XMLParse.h
AutoUpdateDlg.h中包含AutoUpdate.h
AutoUpdateDlg.cpp中重复包含XMLParse.h