🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: simple interface don't know why i'm getting errors

#154
From: ZipBreak
Date: Mon, 27 Mar 2006 06:59
10 lines
1614 bytes
>  TActionItem = class(TComObject, IActionItem)
>    function GetName : String;
>  end;

Inherit from TInterfacedObject NOT from TComObject.  TComObject will
require you to initialize the COM subsystem of Windows -- which is a
waste since you're just using your interfaces internally.

Cheers,
Vij
Technical Details
Message-ID: <1143442783.529630.165400@i39g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail
References: <1141224945.802689.89730@j33g2000cwa.googlegroups.com> <1bjkmr32cet5e$.i3b36q4y7s1q$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: 109d30,3868bed26bc42594
X-Google-Attributes: gid109d30,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!i39g2000cwa.googlegroups.com!not-for-mail
From: "ZipBreak" <zipbreak@hotmail.com>
Newsgroups: borland.public.delphi.language.objectpascal
Subject: Re: simple interface don't know why i'm getting errors
Date: 26 Mar 2006 22:59:43 -0800
Organization: http://groups.google.com
Lines: 11
Message-ID: <1143442783.529630.165400@i39g2000cwa.googlegroups.com>
References: <1141224945.802689.89730@j33g2000cwa.googlegroups.com>
   <1bjkmr32cet5e$.i3b36q4y7s1q$.dlg@40tude.net>
NNTP-Posting-Host: 202.57.64.91
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1143442789 20004 127.0.0.1 (27 Mar 2006 06:59:49 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 27 Mar 2006 06:59:49 +0000 (UTC)
In-Reply-To: <1bjkmr32cet5e$.i3b36q4y7s1q$.dlg@40tude.net>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: i39g2000cwa.googlegroups.com; posting-host=202.57.64.91;
   posting-account=DrppoQ0AAAA1uykTTqA7t95VN4GUkapo