返回信息流帖一下错误提示:
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__DispatchMessageA@4,该符号在函数 _WinMain@16 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__TranslateMessage@4,该符号在函数 _WinMain@16 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__TranslateAcceleratorA@12,该符号在函数 _WinMain@16 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__GetMessageA@16,该符号在函数 _WinMain@16 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__LoadAcceleratorsA@8,该符号在函数 _WinMain@16 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__LoadStringA@16,该符号在函数 _WinMain@16 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__RegisterClassExA@4,该符号在函数 "unsigned short __cdecl MyRegisterClass(struct HINSTANCE__ *)" (?MyRegisterClass@@YAGPAUHINSTANCE__@@@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__LoadCursorA@8,该符号在函数 "unsigned short __cdecl MyRegisterClass(struct HINSTANCE__ *)" (?MyRegisterClass@@YAGPAUHINSTANCE__@@@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__LoadIconA@8,该符号在函数 "unsigned short __cdecl MyRegisterClass(struct HINSTANCE__ *)" (?MyRegisterClass@@YAGPAUHINSTANCE__@@@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__UpdateWindow@4,该符号在函数 "int __cdecl InitInstance(struct HINSTANCE__ *,int)" (?InitInstance@@YAHPAUHINSTANCE__@@H@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__ShowWindow@8,该符号在函数 "int __cdecl InitInstance(struct HINSTANCE__ *,int)" (?InitInstance@@YAHPAUHINSTANCE__@@H@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__CreateWindowExA@48,该符号在函数 "int __cdecl InitInstance(struct HINSTANCE__ *,int)" (?InitInstance@@YAHPAUHINSTANCE__@@H@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__PostQuitMessage@4,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__EndPaint@8,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__DeleteObject@4,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__SelectObject@8,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__CreatePen@12,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__TextOutA@20,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__LineTo@12,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__MoveToEx@16,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__BeginPaint@8,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__DefWindowProcA@16,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__GetDlgItemInt@16,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__DestroyWindow@4,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__DialogBoxParamA@20,该符号在函数 "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__EndDialog@8,该符号在函数 "int __stdcall About(struct HWND__ *,unsigned int,unsigned int,long)" (?About@@YGHPAUHWND__@@IIJ@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__ReleaseDC@8,该符号在函数 "unsigned long __stdcall SocketDraw(void *)" (?SocketDraw@@YGKPAX@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__InvalidateRect@12,该符号在函数 "unsigned long __stdcall SocketDraw(void *)" (?SocketDraw@@YGKPAX@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__SetDlgItemInt@16,该符号在函数 "unsigned long __stdcall SocketDraw(void *)" (?SocketDraw@@YGKPAX@Z) 中被引用
1>WSN.obj : error LNK2019: 无法解析的外部符号 __imp__GetDC@4,该符号在函数 "unsigned long __stdcall SocketDraw(void *)" (?SocketDraw@@YGKPAX@Z) 中被引用
哪位大侠给看看?
这是一条镜像帖。来源:北邮人论坛 / cpp / #44256同步于 2010/9/26
该镜像源已超过 30 天没有更新,可能在源站已被删除。
CPP机器人发帖
编译通过,链接出错,这个是怎么回事?
xiachenghai
2010/9/26镜像同步3 回复
订阅后,新回复会通过你的通知中心匿名送达。