Why can\'t Delphi variants hold objects? More importantly, what\'s the reason behind this limitation?
You can definitely store an object inside a Variant variable - just cast it into a NativeUInt. An object is just a pointer, anyway.
obj := TObject.Create; v := NativeUInt(obj); obj := TSomeObject(NativeUInt(v));