摘要: 正文 将字符串转换成等效int数组 std::vector<uint32_t> convert_wstring_to_int_array(const wchar_t* str) { std::vector<uint32_t> vec; for (size_t i = 0; i < wcslen(st 阅读全文
posted @ 2024-04-19 19:56 倚剑问天 阅读(251) 评论(0) 推荐(0)
摘要: Windows 平台使用 VS2019 编译 Luabind 库小记 前言 本文旨在记录在较新版本的 Visual Studio(2019)中编译 Luabind 这个较为陈旧的 C++/Lua 绑定库时,所需进行的代码兼容性修改与完整流程。由于该库已停止维护,网上参考资料大多基于旧版开发环境,因此 阅读全文
posted @ 2024-04-16 11:44 倚剑问天 阅读(246) 评论(0) 推荐(0)
摘要: Windows 平台使用 VS2019 编译 V8 引擎小记 前言 本文记录在 Windows 平台下,使用 Visual Studio 2019 编译 Google V8 JavaScript 引擎的完整流程。由于项目需要兼容 Windows 7 系统,因此选择了较早的稳定分支 chromium- 阅读全文
posted @ 2024-04-12 15:35 倚剑问天 阅读(707) 评论(0) 推荐(0)
摘要: Visual Studio 2010 授权修改 阅读全文
posted @ 2024-01-14 23:17 倚剑问天 阅读(74) 评论(0) 推荐(0)
摘要: 某居客页面爬虫脚本,支持2023版本 阅读全文
posted @ 2023-12-26 11:06 倚剑问天 阅读(45) 评论(0) 推荐(0)
摘要: 下列提出两种获取对象名的方式 通过_OBJECT_TYPE::Name获取对象名称,通过_OBJECT_TYPE::Index获取对象索引; 通过NtQueryObject的方式获取,r0与r3通用,代码如下: #include <cstdio> #include <cstdlib> #includ 阅读全文
posted @ 2023-11-29 16:25 倚剑问天 阅读(203) 评论(0) 推荐(0)
摘要: 多核处理器同步函数KiIpiGenericCall函数在XP SP3下的寻址方式 阅读全文
posted @ 2022-04-11 00:38 倚剑问天 阅读(874) 评论(0) 推荐(0)
摘要: WH_KEYBOARD和WH_KEYBOARD_LL 键盘钩子在堆栈调用上的情况 阅读全文
posted @ 2022-04-08 03:51 倚剑问天 阅读(347) 评论(0) 推荐(0)
摘要: Clang-Format 常用命令 @echo off set CLANG_FORMAT_PATH=..\tools\clang-format\ %CLANG_FORMAT_PATH%clang-format.exe --assume-filename=.clang-format -i src/cl 阅读全文
posted @ 2022-01-24 23:43 倚剑问天 阅读(70) 评论(0) 推荐(0)
摘要: 简介 此文转载自:https://www.cnblogs.com/gwsbhqt/p/5092390.html 代码 阅读全文
posted @ 2019-09-27 14:12 倚剑问天 阅读(1205) 评论(0) 推荐(0)