On 8 Aug 2005 at 5:24, Frank Heckenbach wrote:
[...]
As I wrote sometime, I think I'd prefer a "object model" switch.
This makes much sense.
[...]
I am more concerned about semantics, I am affraid that the presence/ absence of Root/TObject can be detected.
Quite possible. Also we should consider that Borland may change TObject in future versions. If we decide that we can, and want to, identify it with Root now, and later they change it so it's not compatible anymore, we'll have a problem.
We could do it this way, in the RTS ...
Type Root = Class OOE stuff ... end;
TObject = Class (Root) Delphi stuff ... end;
So if Borland change TObject, this needn't cause any incompatibility with Root. The question though is whether the fact that TObject then becomes a subclass of another object is problematic for Delphi compatibility ...
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/