Re: TStreamAdapter need to be freed?
"Marcel Popescu" <[email protected]> Thu, 14 Aug 2003 18:46:39 +0300
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <047001c3627b$4040e4c0$726e9cd9@mark> |
From: Richard Le Mesurier (Investec Employee Benefits) > The only line in the code that mentions it is: > > (WebBrowser.Document as > IPersistStreamInit).Load(TStreamAdapter.Create(MemStream)); > > where WebBrowser is a normal TWebBrowser, MemStream is a > TMemoryStream containing HTML text. > > Does this satisfy what you say? Yes, this is ok. You don't need to free it, since it's used as an interface pointer. Mark ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/l.m7sD/LIdGAA/qnsNAA/i7folB/TM ---------------------------------------------------------------------~-> CodeCoffer - new Delphi code protection Tool! http://www.delphicollection.com/public/CodeCoffer.htm --------------------------------------------------------------- Unsubscribe:[email protected] List owner:[email protected] --------------------------------------------------------------- Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/