3 ms·
Quote: ">> An instance of a class is not the same thing as an object. > I have no idea what you mean here, sorry. This explains the issue quite well: https:/
by unnouinceput 6y ago
Quote: ">> An instance of a class is not the same thing as an object.
> I have no idea what you mean here, sorry.
This explains the issue quite well: https://forum.lazarus.freepascal.org/index.php/topic,43622.m https://forum.lazarus.freepascal.org/index.php/topic,43622.m..."
I am not sure how Lazarus implements stuff behind the scene but I can tell you 100% for sure that in Delphi every declared class has TObject as ancestor class, so when you instantiate a class in Delphi, you are creating an object.
- lelanthran 6y ago> I am not sure how Lazarus implements stuff behind the scene but I can tell you 100% for sure that in Delphi every declared class has TObject as ancestor class, so when you instantiate a class in Delphi, you are creating an object. Like I said, my experience is quite old (circa 2004 with Delphi), but last I used Delphi, it functioned identically to the way that link for Lazarus said it did. You could create your own class, then instantiate it, and what you got was different from creating an instance of an object.