I have this line in a C++ library :
#define INSTANCE_DATA_OF_PROPERTY_PTR(x) ( (PKSPROPERTY((x)) ) + 1 )
where PKSPROPERTY is a pointer type to a Record type, and x is an integer.
I'm interested in making that C++ macro, a Delphi function.
Could someone give me a hand?
The thing is I do not know for sure what's the CAST PKSPROPERTY returning... Probably the instance, or handle, or pointer memory address.