FRAME

MFC 自定义消息

MFC 自定义消息

bingliaolong 5年前 (2020-04-29) 8 0

自定义消息 //定义消息的值 #define WM_MYMESSAGE (WM_USER + 100) //声明消息处理函数 afx_msg LRESULT OnMyMessage(WPARAM wParam,LPA...

Chromium编译相关

Chromium编译相关

bingliaolong 4年前 (2021-04-18) 156 0

下载depot_tools 官方压缩包 环境1 下载并解压好depot_tools之后,把它的路径放在系统环境变量Path里面,并放在最上面一行 在环境变量里面不要有python的路径,至少不能放在depot_too...

逐行读取txt内容

逐行读取txt内容

bingliaolong 5年前 (2019-10-12) 0 0

读取 之前用mfc做文件夹管理工具,是以行为单位将数据存放在本地txt中。 string readTxt(string file, int index) { ifstream infile; infile.open(...

Base_system

Base_system

bingliaolong 3年前 (2021-05-27) 2 0

sys_info 类 namespace base class SysInfo 函数 返回当前计算机上的逻辑处理器/内核数 static int NumberOfProcessors(); 返回当前机器上物理内存的字...

Base_hash

Base_hash

bingliaolong 3年前 (2021-05-25) 3 0

hash Hash 计算内存缓冲区的哈希 不推荐这个,改用FastHash BASE_EXPORT uint32_t Hash(const void* data, size_t length); BASE_EXPOR...

System_系统是否为64位操作系统

System_系统是否为64位操作系统

bingliaolong 4年前 (2020-10-19) 2 0

简述 可能在程序中有这样的情况,需要根据系统是64位还是32位做出不同的处理,这就需要在程序运行的过程中判断出操作系统的系统位数 关于API 在64位系统的Kernel32核心动态库中,有提供IsWow64Proce...

base_string

base_string

bingliaolong 3年前 (2021-05-19) 0 0

string_piece_forward namespace base { template <typename STRING_TYPE> class BasicStringPiece; typedef ...

扫一扫二维码分享