error LINK2028: 無法解析的標記(0A000048) "extern "C" int __stdcall MessageBoxA(struct HWND__ *,char const *,char const *,unsigned int)"
(?MessageBoxA@@$$J216YGHPAUHWND__@@PBD1I@Z),該標記在函數 "extern "C" int __clrcall MessageBox(struct HWND__ *,char const *,char const *,unsigned int)"
(?MessageBox@@$$J0YMHPAUHWND__@@PBD1I@Z) 中被引用 parameter.obj
同時出現的還有error LINK 2019:無法解析的標記(*****)"extern "C"*********
解決辦法:
鏈接器需要增加靜態鏈接庫
項目屬性->鏈接器->命令行
輸入user32.lib
應用。