<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<META http-equiv=Content-Type content=text/html;charset=ISO-8859-1>
<META content="MSHTML 6.00.2900.3086" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><FONT face="Times New Roman"><FONT 
color=#000000><FONT size=3><SPAN 
class=701495921-13052007>&gt;&gt;</SPAN>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 
<SPAN class=701495921-13052007>&gt;&gt;</SPAN>down.&nbsp; Old version of Nero 
used to do this.&nbsp; And ODBC driver for MSSQL did/does it 
too.</FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><FONT face="Times New Roman" 
color=#000000 size=3></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=701495921-13052007><FONT 
face="Times New Roman" color=#000000 size=3>May I ask if MemCheck.pas can detect 
gdi object leak?</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=701495921-13052007><FONT 
face="Times New Roman" color=#000000 size=3></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=701495921-13052007><FONT 
face="Times New Roman" color=#000000 size=3>TIA</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=701495921-13052007><FONT 
face="Times New Roman" color=#000000 size=3></FONT></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=701495921-13052007><FONT 
face="Times New Roman" color=#000000 size=3>Regards</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=701495921-13052007><FONT 
face="Times New Roman" color=#000000 size=3>Leigh</FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=701495921-13052007><FONT 
face="Times New Roman" size=3><FONT face=Arial color=#0000ff 
size=2>http://</FONT><A 
href="http://www.smootharm.com">www.smootharm.com</A></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=701495921-13052007><FONT 
color=#0000ff></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT color=#0000ff><BR><BR></FONT></DIV></FONT>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----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<BR><BR></FONT></DIV>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: 
  <BLOCKQUOTE cite=mid:000401c7945a$0d445ce0$1f00a8c0@VECTRAXP type="cite"><PRE wrap="">Hello,
  Just wondering if any of you have encountered really weird bugs and
support issues on machines that have been running for a long time (without a
reboot).

 
Trevor
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <A class=moz-txt-link-abbreviated href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</A>
Admin: <A class=moz-txt-link-freetext href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</A>
Unsubscribe: send an email to <A class=moz-txt-link-abbreviated href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</A> with Subject: unsubscribe


  </PRE></BLOCKQUOTE><BR>
  <DIV class=moz-signature>-- <BR>
  <META content="MSHTML 6.00.2900.2802" name=GENERATOR>
  <DIV align=left>
  <DIV align=left><STRONG><FONT size=2><FONT face=Verdana color=#666666>Rohit 
  Gupta</FONT></FONT></STRONG></DIV>
  <DIV align=left><STRONG><FONT size=2><FONT face=Verdana 
  color=#666666>B.E.&nbsp;Elec.&nbsp;&nbsp;&nbsp;M.E.&nbsp;&nbsp;&nbsp;Mem&nbsp;IEEE&nbsp;&nbsp;&nbsp; 
  Associate&nbsp;IEE</FONT></FONT></STRONG></DIV>
  <DIV align=left><STRONG><FONT size=2><FONT face=Verdana 
  color=#666666>Technical&nbsp;Manager</FONT></FONT></STRONG></DIV>
  <DIV align=left><STRONG><FONT face=Verdana color=#666666 size=2>Computer 
  Fanatics Limited</FONT></STRONG></DIV>
  <DIV align=left><STRONG></STRONG>&nbsp;</DIV>
  <DIV align=left><FONT face=Verdana color=#666666 
  size=2><STRONG>Tel</STRONG>&nbsp;&nbsp;&nbsp;&nbsp; +64 9 4892280</FONT></DIV>
  <DIV align=left><FONT face=Verdana color=#666666 
  size=2><STRONG>Fax</STRONG>&nbsp;&nbsp;&nbsp; +64 9 4892290</FONT></DIV>
  <DIV align=left><FONT color=#666666><FONT face=Verdana 
  size=2><STRONG>Email&nbsp; </STRONG></FONT><A 
  href="mailto:rohit@cfl.co.nz"><FONT face=Verdana color=#0080ff 
  size=2>rohit@cfl.co.nz</FONT></A></FONT><FONT color=#666666><FONT face=Verdana 
  size=2><STRONG></STRONG></FONT></FONT></DIV>
  <DIV align=left><FONT color=#666666><FONT face=Verdana 
  size=2><STRONG>Web&nbsp;&nbsp; &nbsp;</STRONG></FONT><A 
  href="http://www.cfl.co.nz/"><FONT face=Verdana color=#0080ff 
  size=2>www.cfl.co.nz</FONT></A></FONT></DIV>
  <DIV>&nbsp;</DIV>
  <DIV>
  <HR>
  </DIV>
  <DIV align=left><SPAN 
  style="FONT-SIZE: 7.5pt; COLOR: rgb(153,153,153); FONT-FAMILY: Verdana"><FONT 
  size=1><SPAN lang=EN-NZ 
  style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"><FONT color=#000000><FONT 
  face=Verdana color=#808080 size=1>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.</FONT> 
<O:P></O:P></FONT></SPAN></FONT></SPAN></DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>