michael.vancann...@wisa.be schrieb:

The logic is that it is bad programming to use an integer to store a pointer.

That's why handles are used for that purpose, and on a 64 bit system handles can have 64 bits as well.

Handles are equally bad. They are *not* pointers.

A user cannot know, and should not care, what hides behind a handle.

You should store a pointer in a variable of pointer type, period.

See lParam in messages...

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to