S simfig Unregistered / Unconfirmed GUEST, unregistred user! 2002-06-08 #1 RECT *urect = (RECT *) (((BYTE *) buff) + sizeof(RGNDATAHEADER) + (x * sizeof(RECT))) 用Delphi如何表示? 谢谢!!
RECT *urect = (RECT *) (((BYTE *) buff) + sizeof(RGNDATAHEADER) + (x * sizeof(RECT))) 用Delphi如何表示? 谢谢!!
B beta Unregistered / Unconfirmed GUEST, unregistred user! 2002-06-08 #2 type PRect = ^TRect; var urect: PRect; begin urect := PRect(Pointer(@buff)); Inc(PByte(urect), SizeOf(RGNDATAHEADER) + x * SizeOf(TRect)); end;
type PRect = ^TRect; var urect: PRect; begin urect := PRect(Pointer(@buff)); Inc(PByte(urect), SizeOf(RGNDATAHEADER) + x * SizeOf(TRect)); end;