错误:

1>WinMain.obj : error LNK2019: 解析的外部符号 __imp__DispatchMessageW@4,在函数的符号 _WinMain@16 据引述

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__TranslateMessage@4,该符号在函数 _WinMain@16 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__GetMessageW@16,该符号在函数 _WinMain@16 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__UpdateWindow@4,该符号在函数 _WinMain@16 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__ShowWindow@8,该符号在函数 _WinMain@16 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__CreateWindowExW@48。该符号在函数 _WinMain@16 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__RegisterClassW@4,该符号在函数 _WinMain@16 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__LoadIconW@8。该符号在函数 _WinMain@16 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__LoadCursorW@8,该符号在函数 _WinMain@16 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__GetStockObject@4,该符号在函数 _WinMain@16 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__DefWindowProcW@16。该符号在函数 "long __stdcall WinSunProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WinSunProc@@YGJPAUHWND__@@IIJ@Z) 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__PostQuitMessage@4,该符号在函数 "long __stdcall WinSunProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WinSunProc@@YGJPAUHWND__@@IIJ@Z) 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__DestroyWindow@4。该符号在函数 "long __stdcall WinSunProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WinSunProc@@YGJPAUHWND__@@IIJ@Z) 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__EndPaint@8,该符号在函数 "long __stdcall WinSunProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WinSunProc@@YGJPAUHWND__@@IIJ@Z) 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__BeginPaint@8,该符号在函数 "long __stdcall WinSunProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WinSunProc@@YGJPAUHWND__@@IIJ@Z) 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__ReleaseDC@8。该符号在函数 "long __stdcall WinSunProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WinSunProc@@YGJPAUHWND__@@IIJ@Z) 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__TextOutW@20。该符号在函数 "long __stdcall WinSunProc(struct HWND__ *,unsigned int,unsigned int,long)" (?

WinSunProc@@YGJPAUHWND__@@IIJ@Z) 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__GetDC@4。该符号在函数 "long __stdcall WinSunProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WinSunProc@@YGJPAUHWND__@@IIJ@Z) 中被引用

1>WinMain.obj : error LNK2019: 无法解析的外部符号 __imp__MessageBoxW@16,该符号在函数 "long __stdcall WinSunProc(struct HWND__ *,unsigned int,unsigned int,long)" (?

WinSunProc@@YGJPAUHWND__@@IIJ@Z) 中被引用

1>.\Debug\WinMain.exe : fatal error LNK1120: 19 个无法解析的外部命令

LINK时找不到所须要的LIB文件,在程序前面加上语句
#pragma comment  (lib,"User32.lib")
#pragma comment (lib,"Gdi32.lib")

版权声明:本文博客原创文章,博客,未经同意,不得转载。

error LNK2019: 解析的外部符号 __imp__DispatchMessageW@4,在函数的符号 _WinMain@16 据引述的更多相关文章

  1. 模板类 error LNK2019: 无法解析的外部符号

    如果将类模板的声明和实现写在两个独立的文件中,在构建时会出现"error LNK2019: 无法解析的外部符号 "的错误. 解决方法有: 第一种方法,就是把类模板中成员函数的声明和 ...

  2. error LNK2019 无法解析的外部符号 __imp__accept@12

    用VS2015编译CuraEngine,出现如下错误: PlatformSocket.obj   error LNK2019 无法解析的外部符号 __imp__accept@12 PlatformSo ...

  3. “error LNK2019: 无法解析的外部符号”之分析

    最近在用VS 2008开发,初学遇到不少问题,最头疼的问题之一就是:LNK2019. 百度一下讲的并不够全面,反正都没解决我的问题. error LNK2019问题在VC 6.0中是error LNK ...

  4. error LNK2019: 无法解析的外部符号 _WinMain@16,该符号在函数 ___tmainCRTStartup 中被引用

    MSVCRTD.lib(crtexew.obj) : error LNK2019: 无法解析的外部符号 _WinMain@16,该符号在函数 ___tmainCRTStartup 中被引用 Debug ...

  5. MSVCRTD.lib(mfc.obj) : error LNK2019: 无法解析的外部符号 _WinMain@16,该符号在函数 ___tmainC (转)

    一.问题描述 我所使用的编程环境:VS2010 出现的问题如下: MSVCRTD.lib(mfc.obj) : error LNK2019: 无法解析的外部符号_WinMain@16,该符号在函数 _ ...

  6. error LNK2019: 无法解析的外部符号 _WinMain@16,该符号在函数 ___tmainCR...

    http://blog.csdn.net/playstudy/article/details/6661868 一,问题描述MSVCRTD.lib(crtexew.obj) : error LNK201 ...

  7. error LNK2019: 无法解析的外部符号 ___glutInitWithExit@12,该符号在函数 _glutInit_ATEXIT_HACK@8 中被引用 1>GEARS.obj : er

    转: http://blog.csdn.net/bill_ming/article/details/8150111 opengl的高级菜鸟问题 看了一本书<OpenGL三维图形系统开发与应用技术 ...

  8. [转] “error LNK2019: 无法解析的外部符号”之分析

    HiLoveS原文“error LNK2019: 无法解析的外部符号”之分析 最近在用VS 2008开发,初学遇到不少问题,最头疼的问题之一就是:LNK2019. 百度一下讲的并不够全面,反正都没解决 ...

  9. error LNK2019: 无法解析的外部符号 "public:

    错误 1 error LNK2019: 无法解析的外部符号 "public: __thiscall test::test(void)" (??0test@@QAE@XZ),该符号在 ...

随机推荐

  1. CSS3影子 box-shadow使用和技巧总结

    text-shadow阴影效果添加到文本,box-shadow块元素被添加到周围的阴影. 随着html5和CSS3声望.越来越普遍的使用特效. 基本语法这是{box-shadow:[inset] x- ...

  2. 黄聪:Microsoft Enterprise Library 5.0 系列教程(八) Unity Dependency Injection and Interception

    原文:黄聪:Microsoft Enterprise Library 5.0 系列教程(八) Unity Dependency Injection and Interception 依赖注入容器Uni ...

  3. hdu3278Puzzle

    其实最终的结果无非是中间8个方块是相同的颜色,外面16个方块是另外两种颜色.那么其实可以把外面两种颜色看作是0,中间的颜色看做是1. 那么题目就变成了把那种颜色看做1,而其它两种颜色看做0,可以用最少 ...

  4. Chrome应用技巧之代码整理。

    我们有时候在看别人站点代码时往往是经过压缩的,代码都在一行上了,调试非常是困难,今天给大家介绍一种基本Chrome浏览器的代码整理方法.请看图:

  5. Linux使用快捷键,who命令,rm命令,ps命令,cd,命令kill命令,find命令,grep命令,tar命令(gz、tar、bz2),用户管理,vim配置的一部分,相关命令

    1.进入Ubuntu开场后的终端窗口的快捷键是:           ctrl + alt+t:通过这个命令能够打开终端. ctrl + alt+t:通过这个命令能够打开终端. 再开一个tab选项卡式 ...

  6. 解决mongodb设备mongod命令不是内部或外部的命令

    1:安装 去mongodb的官网http://www.mongodb.org/downloads下载32bit的包 解压后会出现下面文件 在安装的盘C:下建立mongodb目录,拷贝bin目录到该目录 ...

  7. 图解Http协议 (转)

    一.技术基石及概述 问:什么是HTTP? 答:HTTP是一个客户端和服务器端请求和响应的标准TCP.其实建立在TCP之上的. 当我们打开百度网页时,是这样的: https://www.baidu.co ...

  8. Akka FSM 源代码分析

    Akka FSM 源代码分析 萧猛 <simonxiao@qq.com> 啰嗦几句 有限状态机本身不是啥新奇东西,在GoF的设计模式一书中就有状态模式, 也给出了实现的建议.各种语言对状态 ...

  9. Android的ViewAnimator而它的子类ViewSwitcher-android学习之旅(三十三)

    ViewAnimator遗传FrameLayout,重合使用多个组件.可以增加部件数量,然后会有时间切换动画. ViewAnimator及其子类的继承关系 ViewAnimator经常使用属性 Vie ...

  10. windows Azure平台开发

    rest api 和SDK power shell azure pack