摘要:
要设置dpi 意识,一般是使用SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE)来设置 具体可参考:Setting the default DPI awareness for a process 不过官方更建议使用清单文件来设置dpi意识,我介 阅读全文
摘要:
string bind = "Hello"; for (int i = 0; i < bind.length(); i++) { short ch = VkKeyScanA(bind[i]); if (((ch & 0xff00) >> 8) & 0x1) { std::cout<<" This i 阅读全文
摘要:
根据测试 int main() { int a = 4; void *p = (void*)malloc(sizeof(100)); char *p1 = (char*)malloc(sizeof(100)); int n1 = sizeof(a); int n2 = sizeof(p); // i 阅读全文