문제

In Delphi 6 WPARAM is declared as being signed:

WPARAM = Longint;

In Delphi 2010 WPARAM is declared as being signed:

WPARAM = INT_PTR;

But in XE2 it is declared as being unsigned:

WPARAM = UINT_PTR;

The official Windows definition is:

typedef UINT_PTR WPARAM;

This matches with XE2.


Does anyone know whether the change was made for XE or for XE2?

도움이 되었습니까?

해결책

In Delphi XE WPARAM = INT_PTR; so the change was introduced in XE2.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top