Quote Originally Posted by AthenaOfDelphi
I'm not big on FPC, but could it be as simple as the lack of a parent class?

You've defined TObj as Class, try TObj = class(TObject).

AS I say, I'm not big on FPC, but thats the only thing I could think of from looking at your code.
Still doesn't like me tacking on override; to that. If I take off override, and still try to do
myObj := TObj.Create
It shows
"Error: Only class methods can be referred with class references"

I think I might have to go the uglier way then, eh?