![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Windows
哇嘎啊cc
这个作者很懒,什么都没留下…
展开
-
Windows7 64-bit读取注册表值
win32应用程序在64-bit系统上运行,读取注册表HKEY_LOCAL_MACHINE\Software信息会被转向,导致失败。需在权限加上标志位KEY_WOW64_64KEY。同时,Unicode编码条件下,windows系统为宽字符,需要将其转换成窄字符。void OnReadReg(char *RegValue){ HKEY hKey; TCHAR RegGet[500]原创 2016-09-09 15:36:49 · 1296 阅读 · 0 评论 -
VS编译出错问题汇总
1、error LNK2019: 无法解析的外部符号 _wWinMain@16,该符号在函数 ___tmainCRTStartup 中被引用 把应用程序类型改为控制台类型。 Go to “Linker settings -> System”. Change the field “Subsystem” from “Windows” to “Console”.原创 2016-09-09 17:25:11 · 775 阅读 · 0 评论