gpt4 book ai didi

delphi - WPARAM 何时从有签名变为无签名?

转载 作者:行者123 更新时间:2023-12-03 14:43:48 27 4
gpt4 key购买 nike

在 Delphi 6 中 WPARAM 被声明为已签名:

WPARAM = Longint;

在 Delphi 2010 中,WPARAM 被声明为已签名:

WPARAM = INT_PTR;

但在 XE2 中它被声明为无符号:

WPARAM = UINT_PTR;

官方Windows definition是:

typedef UINT_PTR WPARAM;

这与XE2匹配。

<小时/>

有人知道这个改动是针对XE还是XE2吗?

最佳答案

在 Delphi XE WPARAM = INT_PTR; 中,XE2 中引入了这一更改。

关于delphi - WPARAM 何时从有签名变为无签名?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7837084/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com