> On Oct 15, 2022, at 3:03 PM, Michael Van Canneyt <mich...@freepascal.org> > wrote: > > as far as I kbow, this should be > ObjectArray := TObjectArray(GetDynArrayProp(AObject, PropertyInfo)); > i.e. you get the actual array as a result. >
You’re right, I didn’t need that pointer cast. I’m still curious though why that didn’t work. Shouldn’t the pointer still just point to the dynamic array address and basically do nothing? Regards, Ryan Joseph _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal