Re: I have a problem: CodeGear := TCompany.Create;
- From: "Youseful Support" <support@xxxxxxxxxxxx>
- Date: Fri, 29 Dec 2006 13:29:10 -0500
I have a problem too.
C.IDE := B.IDE;
B.IDE := nil;
is IDE an object or a pointer?
assign() please
you could have just nulled cout C.IDE as well.
Joe Mele
--
Youseful Software
London Number
+44 (0)20 8090 4340.
Toll Free US 1-(866)-387-1998
www.fmplugin.net
FSA Associate Member
www.youseful.com
forums.youseful.com
"M. Murat Dicle" <mdicle@xxxxxxxxx> wrote in message
news:1167412792.734019.235840@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Uses Borland, Microsoft;
Type
TCodeGear = Class(TBorland)
.
.
IDE : TBorland.TIde;
.
.
end;
.
.
.
var
B: TBorland;
C: TComponent;
begin
B := B.Create(nil);
C := TCodeGear.Create(B);
C.IDE := B.IDE;
B.IDE := nil;
C.Owner := B; // maybe, it is not correct. Because, don't remember
Microsoft.
{
C.Owner := TMicrosoft(B); // is it correct?
- or -
C.Parent := B;
C.Owner := Microsoft;
}
.
.
end;
.
.
.
.
- References:
- Re: I have a problem: CodeGear := TCompany.Create;
- From: M. Murat Dicle
- Re: I have a problem: CodeGear := TCompany.Create;
- Prev by Date: Re: Codegear in the news
- Next by Date: Re: The Question for 2007
- Previous by thread: Re: I have a problem: CodeGear := TCompany.Create;
- Next by thread: Delphi subscription
- Index(es):
Relevant Pages
|
|