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

简介: 错误 18 error LNK2019: 无法解析的外部符号 __imp_GetUserObjectInformationW,该符号在函数 OPENSSL_isservice 中被引用 E:\FileRecv\SimpleAuthenticator(1)\SimpleAuthenticator\SimpleAuthenticator\libeay64.

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

目录
相关文章
|
SQL 数据挖掘 测试技术
南大通用GBase8s数据库:LISTAGG函数的解析
南大通用GBase8s数据库:LISTAGG函数的解析
|
C语言 开发者
【C语言】断言函数 -《深入解析C语言调试利器 !》
断言(assert)是一种调试工具,用于在程序运行时检查某些条件是否成立。如果条件不成立,断言会触发错误,并通常会终止程序的执行。断言有助于在开发和测试阶段捕捉逻辑错误。
656 5
|
机器学习/深度学习 自然语言处理 语音技术
揭秘深度学习中的注意力机制:兼容性函数的深度解析
揭秘深度学习中的注意力机制:兼容性函数的深度解析
|
数据处理 Python
深入探索:Python中的并发编程新纪元——协程与异步函数解析
深入探索:Python中的并发编程新纪元——协程与异步函数解析
257 3
|
安全 编译器 C++
【C++篇】C++类与对象深度解析(三):类的默认成员函数详解
【C++篇】C++类与对象深度解析(三):类的默认成员函数详解
292 3
|
存储
atoi函数解析以及自定义类型经典练习题
atoi函数解析以及自定义类型经典练习题
608 0
|
机器学习/深度学习 算法 C语言
【Python】Math--数学函数(详细附解析~)
【Python】Math--数学函数(详细附解析~)
|
设计模式 存储 安全
【23种设计模式·全精解析 | 创建型模式篇】5种创建型模式的结构概述、实现、优缺点、扩展、使用场景、源码解析
结构型模式描述如何将类或对象按某种布局组成更大的结构。它分为类结构型模式和对象结构型模式,前者采用继承机制来组织接口和类,后者釆用组合或聚合来组合对象。由于组合关系或聚合关系比继承关系耦合度低,满足“合成复用原则”,所以对象结构型模式比类结构型模式具有更大的灵活性。 结构型模式分为以下 7 种: • 代理模式 • 适配器模式 • 装饰者模式 • 桥接模式 • 外观模式 • 组合模式 • 享元模式
1061 140
【23种设计模式·全精解析 | 创建型模式篇】5种创建型模式的结构概述、实现、优缺点、扩展、使用场景、源码解析
|
算法 测试技术 C语言
深入理解HTTP/2:nghttp2库源码解析及客户端实现示例
通过解析nghttp2库的源码和实现一个简单的HTTP/2客户端示例,本文详细介绍了HTTP/2的关键特性和nghttp2的核心实现。了解这些内容可以帮助开发者更好地理解HTTP/2协议,提高Web应用的性能和用户体验。对于实际开发中的应用,可以根据需要进一步优化和扩展代码,以满足具体需求。
1715 29
|
前端开发 数据安全/隐私保护 CDN
二次元聚合短视频解析去水印系统源码
二次元聚合短视频解析去水印系统源码
747 4

热门文章

最新文章

推荐镜像

更多
  • DNS