使用Monitor Configuration Api的问题 [英] Issue with using Monitor Configuration Api

查看:178
本文介绍了使用Monitor Configuration Api的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


我正在创建一个应用程序,让用户在。


你们可以告诉我为什么我要面对这个以及如何解决这个问题吗?


谢谢 

解决方案

GetDesktopWindow和MonitorFromWindow都是从User32.dll导出的。  ;您的项目需要与User32.lib链接以获取这些功能。


Hi

I am creating an app to let user alter screen brightness in Qt framework for windows. so for that i need to use windows api fucntions to talk to display unit and the functions i use are :

Using High-Level Monitor Configuration Functions  (Monitor Configuration).

but the movement i compile my application i get these three errors: 

if you can't see the image please visit here.

can you guys enlighten me why i am facing this and how to fix it ?

thanks 

解决方案

GetDesktopWindow and MonitorFromWindow are both exported from User32.dll.  Your project needs to link with User32.lib for these functions.


这篇关于使用Monitor Configuration Api的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆