<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="+1">I am just curious, what is the instance size of an
Tobject? <br>
<br>
in many notifyevents, we would test whether an object is actually
of a certain class by<br>
if Sender is TComponent then <br>
...<br>
end;<br>
<br>
How does the "is" operator work? Is the memory space occupied by
that object reference contain a pointer to a class table?<br>
If that is true, the minimal instance size of an Tobject is
sizeof(pointer)? <br>
<br>
Sorry if my question is dumb.<br>
<br>
Dennis<br>
</font>
</body>
</html>