Article View: borland.public.cppbuilder.nativeapi
Article #2511Re: Memory Leak - TForm or TStringGrid or DynamicArray
From: Alan Bellingham
Date: Fri, 09 Feb 2007 15:16
Date: Fri, 09 Feb 2007 15:16
14 lines
1938 bytes
1938 bytes
Dan Mayo <do_not_spam_dmayo2@netzero.com> wrote: >I'm going to modify the code now so that I don't dynamically create the >form in question, but instead have one static form for that one >function. Perhaps that will help point to where the real problem is? It might help the problem go away. Creating and destroying the same form again and again may be less efficient than creating it once, and then hiding or showing it as required. Alan Bellingham -- 10th Anniversary ACCU Conference: 11-14 April 2007 - Oxford, UK (Booking now open: see http://accu.org/index.php/conferences for details)
Technical Details
Message-ID:
<014ps2d0hcjd0fqcqqrqslibb9puqbn58t@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45c7810f@newsgroups.borland.com> <45c7dc8d$1@newsgroups.borland.com> <45c89ec6@newsgroups.borland.com> <45ca4546$1@newsgroups.borland.com> <0sqks2t4c90epuc62bv635h36cqeat0ujd@4ax.com> <45cb3451$1@newsgroups.borland.com> <ptems2p2k2rquqdiao805ik2fhg6jl9n9a@4ax.com> <45cb5f6b@newsgroups.borland.com> <45cba995$1@newsgroups.borland.com> <45cbb722$1@newsgroups.borland.com> <45cc8d73$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,191a7d21d69bde32 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: Alan Bellingham <alan@lspace.org> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Memory Leak - TForm or TStringGrid or DynamicArray Date: Fri, 09 Feb 2007 15:16:47 +0000 Organization: Private Reply-To: alan@lspace.org Message-ID: <014ps2d0hcjd0fqcqqrqslibb9puqbn58t@4ax.com> References: <45c7810f@newsgroups.borland.com> <45c7dc8d$1@newsgroups.borland.com> <45c89ec6@newsgroups.borland.com> <45ca4546$1@newsgroups.borland.com> <0sqks2t4c90epuc62bv635h36cqeat0ujd@4ax.com> <45cb3451$1@newsgroups.borland.com> <ptems2p2k2rquqdiao805ik2fhg6jl9n9a@4ax.com> <45cb5f6b@newsgroups.borland.com> <45cba995$1@newsgroups.borland.com> <45cbb722$1@newsgroups.borland.com> <45cc8d73$1@newsgroups.borland.com> X-Newsreader: Forte Agent 4.2/32.1117 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 193.129.251.253 X-Trace: newsgroups.borland.com 1171034199 193.129.251.253 (9 Feb 2007 07:16:39 -0800) Lines: 14 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail