该死的MSDN!谁能帮帮我!(GetMonitorInfo 与 winuser.h)

WM_JAWIN WM_JAWIN 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我想用GetMonitorInfo()函数,查MSDN时说在"Header: Declared in winuser.h."
于是就
#include "stdio.h"
#include "iostream.h"
#include "windows.h"
#include "winuser.h"
理论上说时没错的了,可时Complie时就来
error C2065: 'GetMonitorInfo' : undeclared identifier
我晕~
后来在加上#include <multimon.h> Complie时通过。
可时Buile时有来一个
error LNK2001: unresolved external symbol _xGetMonitorInfo@8
这为什么呢?各位有什么解决方法?
...全文
评论 8
收藏 已收藏
分享
返回顶部
WM_JAWIN
进程/线程/DLL 15,465 成员 49,169 内容