Does your Lazarus crash on other pointer to record types or is it just PImageData
I didn't test it excessively, so I cannot really say. Before trying Vampyre I worked with pointers a lot and I never had any problems.

P.S. You know, it seems a big block of commented-out code full of compiler directives right above the offending line was responsible.

Now I removed it and Lazarus stopped crashing. Still, the autocompletion doesn't work, neither for TImageData nor for PImageData.

Well, Lazarus is *still* a beta. :roll: