<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=EN-NZ link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Nope. Only memory leaks.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Myles.<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
delphi-bounces@delphi.org.nz [mailto:delphi-bounces@delphi.org.nz] <b>On Behalf
Of </b>Leigh Wanstead<br>
<b>Sent:</b> Monday, 14 May 2007 10:01<br>
<b>To:</b> NZ Borland Developers Group - Delphi List<br>
<b>Subject:</b> RE: [DUG] Long running apps &amp; weirdness<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>&gt;&gt;2.&nbsp; Running out of resources.&nbsp; Open the
task manager and keep an eye on GDI objects (the worst), User Obects, Handles
etc&nbsp; GDI is the worst.&nbsp; Windows goes crazy, you cant even shut
&gt;&gt;down.&nbsp; Old version of Nero used to do this.&nbsp; And ODBC driver
for MSSQL did/does it too.<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>May I ask if MemCheck.pas can detect gdi object leak?<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>TIA<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Regards<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Leigh<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:blue'>http://</span><a href="http://www.smootharm.com">www.smootharm.com</a><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'><o:p>&nbsp;</o:p></span></p>

</div>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<blockquote style='margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>-----Original Message-----<br>
<b>From:</b> delphi-bounces@delphi.org.nz [mailto:delphi-bounces@delphi.org.nz]<b>On
Behalf Of </b>Rohit Gupta<br>
<b>Sent:</b> Monday, May 14, 2007 9:53 AM<br>
<b>To:</b> NZ Borland Developers Group - Delphi List<br>
<b>Subject:</b> Re: [DUG] Long running apps &amp; weirdness</span><o:p></o:p></p>

<p class=MsoNormal>Trevor,<br>
<br>
Two things.<br>
<br>
1.&nbsp; We have something similar right now to do with Crystal Reports.&nbsp;
I fairly sure that I have found the two problems in it.&nbsp; One is that
callback from a dll is into a nested procedure with local variables and could
be called after the object has been destroyed.&nbsp; The other is to do with
strings.&nbsp; The more strings we pass to the dll the faster the crash.&nbsp;
Basically memory/stack/registers are getting trashed leading to nonsense errors
and even the app just disappearing.&nbsp; <br>
<br>
2.&nbsp; Running out of resources.&nbsp; Open the task manager and keep an eye
on GDI objects (the worst), User Obects, Handles etc&nbsp; GDI is the
worst.&nbsp; Windows goes crazy, you cant even shut down.&nbsp; Old version of
Nero used to do this.&nbsp; And ODBC driver for MSSQL did/does it too.<br>
<br>
<br>
<br>
Trevor Jones wrote: <o:p></o:p></p>

<pre>Hello,<o:p></o:p></pre><pre>&nbsp; Just wondering if any of you have encountered really weird bugs and<o:p></o:p></pre><pre>support issues on machines that have been running for a long time (without a<o:p></o:p></pre><pre>reboot).<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre> <o:p></o:p></pre><pre>Trevor<o:p></o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>NZ Borland Developers Group - Delphi mailing list<o:p></o:p></pre><pre>Post: <a
href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><o:p></o:p></pre><pre>Admin: <a
href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a><o:p></o:p></pre><pre>Unsubscribe: send an email to <a
href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>&nbsp; <o:p></o:p></pre>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>-- <o:p></o:p></p>

<p class=MsoNormal><strong><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#666666'>Rohit Gupta</span></strong><o:p></o:p></p>

<p class=MsoNormal><strong><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#666666'>B.E.&nbsp;Elec.&nbsp;&nbsp;&nbsp;M.E.&nbsp;&nbsp;&nbsp;Mem&nbsp;IEEE&nbsp;&nbsp;&nbsp;
Associate&nbsp;IEE</span></strong><o:p></o:p></p>

<p class=MsoNormal><strong><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#666666'>Technical&nbsp;Manager</span></strong><o:p></o:p></p>

<p class=MsoNormal><strong><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#666666'>Computer Fanatics Limited</span></strong><o:p></o:p></p>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

<p class=MsoNormal><strong><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#666666'>Tel</span></strong><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";color:#666666'>&nbsp;&nbsp;&nbsp;&nbsp; +64 9 4892280</span><o:p></o:p></p>

<p class=MsoNormal><strong><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#666666'>Fax</span></strong><span style='font-size:10.0pt;font-family:
"Verdana","sans-serif";color:#666666'>&nbsp;&nbsp;&nbsp; +64 9 4892290</span><o:p></o:p></p>

<p class=MsoNormal><strong><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#666666'>Email&nbsp; </span></strong><span style='color:#666666'><a
href="mailto:rohit@cfl.co.nz"><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#0080FF'>rohit@cfl.co.nz</span></a></span><o:p></o:p></p>

<p class=MsoNormal><strong><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#666666'>Web&nbsp;&nbsp; &nbsp;</span></strong><span style='color:#666666'><a
href="http://www.cfl.co.nz/"><span style='font-size:10.0pt;font-family:"Verdana","sans-serif";
color:#0080FF'>www.cfl.co.nz</span></a></span><o:p></o:p></p>

<div>

<p class=MsoNormal>&nbsp;<o:p></o:p></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'>

<hr size=2 width="100%" align=center>

</div>

</div>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Verdana","sans-serif";
color:gray'>This email and any attachments contain information, which is
confidential and may be subject to legal privilege and copyright. If you are
not the intended recipient, you must not use, distribute or copy this email or
attachments. If you have received this in error, please notify us immediately
by return email and then delete this email and any attachments.</span><span
style='font-size:10.0pt;font-family:"Courier New"'> </span><o:p></o:p></p>

</div>

</blockquote>

</div>


<FONT face=Verdana size=1>Attention:<BR>This communication is confidential 
and may be legally privileged.&nbsp; If you are not the intended recipient, 
please do not use, disclose, copy or distribute it, other than to return it to 
us with your confirmation that it has been deleted from your 
system.<BR></FONT>
</body>

</html>