码迷,mamicode.com
首页 > 其他好文 > 详细

error LNK2019: 无法解析的外部符号 __imp_GetUserObjectInformationW,该符号在函数 OPENSSL_isservice 中被引用

时间:2015-05-30 19:56:32      阅读:416      评论:0      收藏:0      [点我收藏+]

标签:openssl   error   supported   lnk2019   

错误 18 error LNK2019: 无法解析的外部符号 __imp_GetUserObjectInformationW,该符号在函数 OPENSSL_isservice 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(cryptlib.obj) SimpleAuthenticator
错误 19 error LNK2019: 无法解析的外部符号 __imp_GetProcessWindowStation,该符号在函数 OPENSSL_isservice 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(cryptlib.obj) SimpleAuthenticator
错误 20 error LNK2019: 无法解析的外部符号 __imp_GetDesktopWindow,该符号在函数 OPENSSL_isservice 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(cryptlib.obj) SimpleAuthenticator
错误 21 error LNK2019: 无法解析的外部符号 __imp_MessageBoxW,该符号在函数 OPENSSL_showfatal 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(cryptlib.obj) SimpleAuthenticator
错误 22 error LNK2019: 无法解析的外部符号 __imp_DeregisterEventSource,该符号在函数 OPENSSL_showfatal 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(cryptlib.obj) SimpleAuthenticator
错误 23 error LNK2019: 无法解析的外部符号 __imp_ReportEventW,该符号在函数 OPENSSL_showfatal 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(cryptlib.obj) SimpleAuthenticator
错误 24 error LNK2019: 无法解析的外部符号 __imp_RegisterEventSourceW,该符号在函数 OPENSSL_showfatal 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(cryptlib.obj) SimpleAuthenticator
错误 25 error LNK2019: 无法解析的外部符号 __imp_DeleteDC,该符号在函数 readscreen 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(rand_win.obj) SimpleAuthenticator
错误 26 error LNK2019: 无法解析的外部符号 __imp_DeleteObject,该符号在函数 readscreen 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(rand_win.obj) SimpleAuthenticator
错误 27 error LNK2019: 无法解析的外部符号 __imp_GetBitmapBits,该符号在函数 readscreen 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(rand_win.obj) SimpleAuthenticator
错误 28 error LNK2019: 无法解析的外部符号 __imp_BitBlt,该符号在函数 readscreen 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(rand_win.obj) SimpleAuthenticator
错误 29 error LNK2019: 无法解析的外部符号 __imp_GetObjectW,该符号在函数 readscreen 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(rand_win.obj) SimpleAuthenticator
错误 30 error LNK2019: 无法解析的外部符号 __imp_SelectObject,该符号在函数 readscreen 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(rand_win.obj) SimpleAuthenticator
错误 31 error LNK2019: 无法解析的外部符号 __imp_CreateCompatibleBitmap,该符号在函数 readscreen 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(rand_win.obj) SimpleAuthenticator
错误 32 error LNK2019: 无法解析的外部符号 __imp_GetDeviceCaps,该符号在函数 readscreen 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(rand_win.obj) SimpleAuthenticator
错误 33 error LNK2019: 无法解析的外部符号 __imp_CreateCompatibleDC,该符号在函数 readscreen 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(rand_win.obj) SimpleAuthenticator
错误 34 error LNK2019: 无法解析的外部符号 __imp_CreateDCW,该符号在函数 readscreen 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.lib(rand_win.obj) SimpleAuthenticator
错误 35 error LNK1120: 17 个无法解析的外部命令 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\x64\Debug\SimpleAuthenticator.dll SimpleAuthenticator

参考MSDN:https://msdn.microsoft.com/en-us/library/ms683238(VS.85).aspx

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

Unicode and ANSI names

GetUserObjectInformationW (Unicode) and GetUserObjectInformationA (ANSI)

我们要找的就是Library:User32.lib,如果想以静态引用的方式使用GetUserObjectInformation API,就需要将 User32.lib 加入链接器输入的附加依赖项,操作方法如下图:
在解决方案资源管理器中选中对应的项目
技术分享
点击项目菜单》属性,或者是直接在项目上单击鼠标右键》属性
技术分享
展开配置属性》链接器,选中输入,点击附加依赖项右侧的下拉框,在弹出的菜单中点击编辑
技术分享
输入附加依赖项,点击确定。
技术分享

error LNK2019: 无法解析的外部符号 __imp_GetUserObjectInformationW,该符号在函数 OPENSSL_isservice 中被引用

标签:openssl   error   supported   lnk2019   

原文地址:http://blog.csdn.net/testcs_dn/article/details/46276865

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!