2022年6月3日
摘要: 解决scanf和gets在代码页65001下的乱码问题 1.字符集 使用 Unicode 字符集 必须 2.不要使用system("chrp 65001") 用 ::SetConsoleOutputCP(65001); 代替 3.gets_s(SC_Input, MEM_PAGE); 系统默认编码G 阅读全文
posted @ 2022-06-03 21:38 Ksa-NL 阅读(154) 评论(0) 推荐(0) 编辑
  2022年4月24日
摘要: // 太晚了只导出了dx9 记录一下 QQ 4seaynl 可以加我一起搞 // /* Origin d3d9.h */ #define _FACD3D 0x876 #define MAKE_D3DHRESULT( code ) MAKE_HRESULT( 1, _FACD3D, code ) #d 阅读全文
posted @ 2022-04-24 00:50 Ksa-NL 阅读(587) 评论(0) 推荐(0) 编辑
  2021年10月5日
摘要: 笔者没有发现 Visual Studio Standard Collector Service 150 服务项 Visual Studio Installer 安装器启动 安装注意勾选Boost.Test测试(猜测可能首次安装取消了这个) 重启打开VS 如若 win+R -> services.ms 阅读全文
posted @ 2021-10-05 18:34 Ksa-NL 阅读(1036) 评论(0) 推荐(0) 编辑
  2021年10月4日
摘要: 注意 全写列表在WINNT.h内的默认定义为 SE_CREATE_TOKEN_NAME TEXT("SeCreateTokenPrivilege") 使用RtlAdjustPrivilege·可直接使用enum索引 typedef int SePrivilege; typedef enum SePr 阅读全文
posted @ 2021-10-04 22:43 Ksa-NL 阅读(805) 评论(0) 推荐(0) 编辑