Re: Using Indy component in an ActiveX

Giganews Newsgroups
Subject: Re: Using Indy component in an ActiveX
Posted by:  Remy Lebeau (TeamB) (gambit47.no.spam@no.spam.yahoo.com)
Date: Fri, 6 Feb 2004

"Stephane Bouvard" <spam@frn.be> wrote in message
news:6451616BEF90E240spam@frn.be...

> When i want to do tidhttp.create , i must specify a parent TComponent...

Simply specify nil as the Owner instead, and then make sure that you Free
the instance manually when you are done with it:

    HTTP := IdHTTP1.Create(nil);
    //...
    HTTP.Free;

Gambit

Replies

In response to

Using Indy component in an ActiveX posted by Stephane Bouvard on Fri, 6 Feb 2004