<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]-->
<title>Signature</title>
<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:blue;
        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.EmailStyle19
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle21
        {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 90.0pt 72.0pt 90.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=blue>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>What about using process explorer then from SysInternals (now
MS)?<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>

<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>Trevor Jones<br>
<b>Sent:</b> Monday, 14 May 2007 10:14<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>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Good point Rohit,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>&nbsp; I hadn&#8217;t even thought of resource leaks.&nbsp; That
might explain a lot.<o:p></o:p></span></p>

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

<p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>&nbsp; Trouble is, the OS is so locked down that Task manager is
not available.<o:p></o:p></span></p>

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

<div>

<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US
style='color:windowtext'>

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

</span></div>

<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>Rohit Gupta<br>
<b>Sent:</b> Monday, 14 May 2007 9:53 a.m.<br>
<b>To:</b> NZ Borland Developers Group - Delphi List<br>
<b>Subject:</b> Re: [DUG] Long running apps &amp; weirdness</span><span
lang=EN-US style='color:windowtext'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US>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></span></p>

<pre><span lang=EN-US>Hello,<o:p></o:p></span></pre><pre><span lang=EN-US>&nbsp; Just wondering if any of you have encountered really weird bugs and<o:p></o:p></span></pre><pre><span
lang=EN-US>support issues on machines that have been running for a long time (without a<o:p></o:p></span></pre><pre><span
lang=EN-US>reboot).<o:p></o:p></span></pre><pre><span lang=EN-US><o:p>&nbsp;</o:p></span></pre><pre><span
lang=EN-US> <o:p></o:p></span></pre><pre><span lang=EN-US>Trevor<o:p></o:p></span></pre><pre><span
lang=EN-US>_______________________________________________<o:p></o:p></span></pre><pre><span
lang=EN-US>NZ Borland Developers Group - Delphi mailing list<o:p></o:p></span></pre><pre><span
lang=EN-US>Post: <a href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a><o:p></o:p></span></pre><pre><span
lang=EN-US>Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a><o:p></o:p></span></pre><pre><span
lang=EN-US>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></span></pre><pre><span
lang=EN-US><o:p>&nbsp;</o:p></span></pre><pre><span lang=EN-US><o:p>&nbsp;</o:p></span></pre><pre><span
lang=EN-US>&nbsp; <o:p></o:p></span></pre>

<p class=MsoNormal><span lang=EN-US><o:p>&nbsp;</o:p></span></p>

<div>

<p class=MsoNormal><span lang=EN-US>-- <o:p></o:p></span></p>

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

<p class=MsoNormal><strong><span lang=EN-US 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><span lang=EN-US><o:p></o:p></span></p>

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

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

<p class=MsoNormal><span lang=EN-US>&nbsp;<o:p></o:p></span></p>

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

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

<p class=MsoNormal><strong><span lang=EN-US style='font-size:10.0pt;font-family:
"Verdana","sans-serif";color:#666666'>Email&nbsp; </span></strong><span
lang=EN-US 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><span
lang=EN-US><o:p></o:p></span></p>

<p class=MsoNormal><strong><span lang=EN-US style='font-size:10.0pt;font-family:
"Verdana","sans-serif";color:#666666'>Web&nbsp;&nbsp; &nbsp;</span></strong><span
lang=EN-US 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><span
lang=EN-US><o:p></o:p></span></p>

<div>

<p class=MsoNormal><span lang=EN-US>&nbsp;<o:p></o:p></span></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><span lang=EN-US>

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

</span></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><span lang=EN-US><o:p></o:p></span></p>

</div>

</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>