Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unused variable错误 #78

Open
little-ice-fly-fly opened this issue Sep 26, 2020 · 2 comments
Open

unused variable错误 #78

little-ice-fly-fly opened this issue Sep 26, 2020 · 2 comments

Comments

@little-ice-fly-fly
Copy link

No description provided.

@little-ice-fly-fly
Copy link
Author

设置缩放

# Query DPI Awareness (Windows 10 and 8)
awareness = ctypes.c_int()
errorCode = ctypes.windll.shcore.GetProcessDpiAwareness(
    0, ctypes.byref(awareness)) 

// 报错Unused variable 'errorCode'

@little-ice-fly-fly
Copy link
Author

问题解决了,原因是没有给管理员权限

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant