You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
luckyxrq
changed the title
shell_command结构体字节对齐,在Windows x64的qt(mingw32条件下)存在问题,导致type类型恒定为0
为适应不同编译器,切不更改字节对齐方式,建议修改attr联合体的定义方式,master代码在mingw32下存在问题,导致元素ShellCommandType type : 4恒定为0,无法执行命令解析
Apr 17, 2023
luckyxrq
changed the title
为适应不同编译器,切不更改字节对齐方式,建议修改attr联合体的定义方式,master代码在mingw32下存在问题,导致元素ShellCommandType type : 4恒定为0,无法执行命令解析
为适应不同编译器,且不更改字节对齐方式,建议修改attr联合体的定义方式,master代码在mingw32下存在问题,导致元素ShellCommandType type : 4恒定为0,无法执行命令解析
Apr 17, 2023
需要更改为:
改了后sizeof(attr)正常为4, type才能对应左移8位的偏移
否则不正常sizeof(attr)为12
The text was updated successfully, but these errors were encountered: