error LNK2028: 无法解析的标记(0A00004F) "extern "C" int __stdcall MessageBoxA(struct HWND__ *,char const *,char const *,unsigned int)" (?MessageBoxA@@$$J216YGHPAUHWND__@@PBD1I@Z),该标记在函数 "extern "C" int __cdecl MessageBox(struct HWND__ *,char const *,char const *,unsigned int)" (?MessageBox@@$$J0YAHPAUHWND__@@PBD1I@Z) 中被引用
解决方法:项目------>属性------>链接器------>加上user32.lib------>确定
新建win32窗体:空的CLR,新建项UI---->windows窗体