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

错误 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 加入链接器输入的附加依赖项,操作方法如下图:
在解决方案资源管理器中选中对应的项目
这里写图片描述
点击项目菜单》属性,或者是直接在项目上单击鼠标右键》属性
这里写图片描述
展开配置属性》链接器,选中输入,点击附加依赖项右侧的下拉框,在弹出的菜单中点击编辑
这里写图片描述
输入附加依赖项,点击确定。
这里写图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值