SetProcessDpiAwareness not having effect
问题 I've been trying to disable the DPI awareness on a ClickOnce application. I quickly found out, it is not possible to specify it in the manifest, because ClickOnce does not support asm.v3 in the manifest file. The next option I found was calling the new Windows function SetProcessDpiAwareness. According to this tutorial, Call SetProcessDpiAwareness before you create the application window. And this tutorial, you must call SetProcessDpiAwareness prior to any Win32API call You have to call the