当前位置:网站首页>Process32first returns false, error x message 24
Process32first returns false, error x message 24
2022-07-26 09:28:00 【asiwxy】
There's a bug in tlhelp32.h, when invoked in WIN64:
If there's a #pragma pack directive somewhere before including tlhelp32.h, it will generate a PROCESSENTRY32 structure with the wrong size.
Then anything can happen, including Process32First failures, or even crashes.
Try including tlhelp32.h this way:
#pragma pack(push,8) /* Work around a bug in tlhelp32.h in WIN64, which generates the wrong structure if packing has been changed */
#include <tlhelp32.h>
#pragma pack(pop)
link :http://www.youngroe.com/2015/09/26/Windows/Process32First-error-of-command-length/
边栏推荐
猜你喜欢
随机推荐
【线上问题】Timeout waiting for connection from pool 问题排查
VS2019配置opencv
大二上第三周学习笔记
字节缓冲流&字符流详解
大二上第二周学习笔记
Order based evaluation index (especially for recommendation system and multi label learning)
Jmeter配置元件之CSV数据文件设置
arcgis的基本使用1
v-premission添加权限
Custom password input box, no rounded corners
php执行shell脚本
点击input时,不显示边框!
附加到进程之后,断点显示“当前不会命中断点 还没有为该文档加载任何符号”
Force deduction brush questions, sum of three numbers
Does volatile rely on the MESI protocol to solve the visibility problem? (top)
2022 mobile crane driver test question simulation test question bank simulation test platform operation
keepalived 实现mysql自动故障切换
[shutter -- layout] detailed explanation of the use of align, center and padding
暑假第四周
Fiddler下载安装