النسخة القادمة من دلفي Delphi XE SE في 1- 11-2011
#9
1. Integer to NativeInt
إقتباس :Every time in your code there is a cast
of a pointer or object reference to the
Integer type, replace it with a cast to
NativeInt. For example the following code
saves the reference to an object in the
Tag property (which according to Allen
Bauer has been changed to NativeInt).

// classic code
Button1.Tag := Integer (Label1);

// portable code
Button1.Tag := NativeInt (Label1);
LParam is also a type .2
I'M Fly Like A G6



الردود في هذا الموضوع
النسخة القادمة من دلفي Delphi XE SE في 1- 11-2011 - بواسطة TF6M - 29-04-2011, 10:34 PM

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم