NativeInt ni = 100; //Wrong. Will issue an Error
NativeInt ni = NativeInt(100); //Correct
System::GetMemory(0x100); // Error
System::GetMemory(NativeInt(0x100)); //Correct
转载
2015-09-01 17:54:00
40阅读
2评论
Delphi XE 类型 NativeInt 和 NativeUInt 单元:System.pas type NativeInt = { built-in type }; type NativeUInt = { built-in type }; 描述说明: NativeInt 定义依赖于平台的有符号
转载
2021-06-11 11:10:00
344阅读
2评论
System.TPtrWrapper - 指针包装器
不知什么时候 System 单元有了 TPtrWrapper 结构体, 它提供了非常小的一点功能: 指针(Pointer)与指针地址(NativeInt)的转换.
很显然, 以前常用的 Integer(P) 或 Ptr(Number) 已经不适用与
原创
2021-04-30 14:48:29
276阅读