🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.language.objectpascal
Article #200

Interfaces inheritance and remoting problem in D8 !?

#200
From: Liviu Uba
Date: Mon, 26 Jan 2004 14:54
24 lines
1470 bytes
 Hello and look at the following stuff:

 type
  TDatamoduleA = class( TDatamodule, IMyInterface )
  end;

  TDatamoduleB = class(TDatamoduleA)
  end;

 when i connect to TDatamoduleB through remoting and try to get an
IMyInterface , i will get an error!

 if I declare:

  TDatamoduleB = class(TDatamoduleA, IMyInterface)

IT WORKS!!!

Shouldn't TDatamoduleB implement IMyInterface by default, because it
inherits from
an object that implements it?

Regards
Technical Details
Message-ID: <4015289c$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,2232219cadd406c8,start
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2004-01-26 07:10:52 PST
Reply-To: "Liviu Uba" <luba@totalsoft.ro>
From: "Liviu Uba" <luba@totalsoft.ro>
Newsgroups: borland.public.delphi.language.objectpascal
Subject: Interfaces inheritance and remoting problem in D8 !?
Date: Mon, 26 Jan 2004 16:54:53 +0200
Lines: 32
Organization: Totalsoft
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.10.201.170
Message-ID: <4015289c$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1075128476 217.10.201.170 (26 Jan 2004 06:47:56 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail