29-04-2011, 10:34 PM
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

