<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <title>
      myOffice Email Message
    </title>
    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
    <meta name="date" content="2002-11-01">
  <style type="text/css">
  </style>
  </head>
  <body>
    <span style=
      "color:#FF0000 "><b><span style=
      "font-family:MS Sans Serif ">[Reply]</span></b></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#000000 ">Jeremy,</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#000000 ">The requirement is essentially to know when the resources of the computer are available enough to use ... so just decide what level the "system idle" resource should be ( make it configurable perhaps ), put some hysteresis in there ( maybe 3 seconds ) and you're away. Just keep it simple.</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#000000 ">cheers</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#000000 ">Gary</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#000000 ">A</span><span style=
      "color:#FF0000 "><b>t 18:09 on 14/09/2009 you wrote </b></span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;To  : delphi@delphi.org.nz</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;CC  : </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;From: Jeremy Coulter, jscoulter@gmail.com</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Content Type: text/html</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Attached: </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;This is a multipart message in MIME format.</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;I agree.  My business partner was approached by someone about writing an</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;app. To basically tell the user that the computer is ready to use.</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;My gut feeling is this is not the type of app. Thats going to be very</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;reliable.....</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt; </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Jeremy</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt; </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;From: delphi-bounces@delphi.org.nz [mailto:delphi-bounces@delphi.org.nz] On</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Behalf Of Jolyon Smith</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Sent: Monday, 14 September 2009 17:48</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;To: 'NZ Borland Developers Group - Delphi List'</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Subject: Re: [DUG] Has Windows finished??</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt; </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;I'm not sure that any API - even if it exists - can actually be at all</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;reliable so I doubt that it even exists.</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt; </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;If it *did exist all it could possibly tell you is that Windows has loaded</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;and initialised all the processes that it thinks it needs to.  But Windows</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;itself does not and cannot know what those processes are going to do once</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;launched, so it has no way of knowing if/when those processes themselves are</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;"finished".</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt; </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Some won't *ever* finish.  Some of those processes are launched and then</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;simply sit "resident" (showing my age I think) doing some work periodically,</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;such as the various "Update service" processes that numerous applications</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;install these days.</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt; </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;What constitutes "finished", in your terms, in these cases?  The executable</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;image has finished loading from disc?  The process associated has *started*?</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;The process associated has *finished*?  If the latter, does that mean</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;terminated and unloaded or  simply "gone idle" (what you consider "idle"</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;being potentially wholly different from what "idle" means to any one of</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;those processes).</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt; </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;It might be better to ask why you want to do this?  What is it you are</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;trying to achieve in your process?  What is it, specifically, you are</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;waiting for and why?</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt; </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;This might help identify an approach to suit your needs.</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt; </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt; </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;From: delphi-bounces@delphi.org.nz [mailto:delphi-bounces@delphi.org.nz] On</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Behalf Of Jeremy Coulter</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Sent: Monday, 14 September 2009 14:07</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;To: NZ Borland Developers Group - Delphi List</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Subject: [DUG] Has Windows finished??</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt; </span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Hi all.</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Is there API or SOMETHING that I can call or look at that will tell me if</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;windows has finished "Loading". i.e. all the programs that windows has to</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;load have finshed loading etc. etc.</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;I guess I can look at the CPU usage, but not sure how good thisis. What if</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;one of the programs being loaded is a CPU hog because the machine is a bit</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;of a dog etc.</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Anyone got any ideas?</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Jeremy</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;_______________________________________________</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;NZ Borland Developers Group - Delphi mailing list</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Post: delphi@delphi.org.nz</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Admin: http://delphi.org.nz/mailman/listinfo/delphi</span></span>
    <p>
      <span style=
      "font-family:MS Sans Serif "><span style=
      "color:#008000 ">&gt;Unsubscribe: send an email to delphi-request@delphi.org.nz with Subject: unsubscribe</span></span><p>
  <font face=arial size = 1 color = Navy><font color=gray face = "helvetica,verdana,arial" size = 1><br /><br>
<font size=2 color="black">Gary Benner </font><hr /><br>
<a HREF="http://www.semantic.co.nz" style="text-decoration:none; color:blue">Semantic Limited</a> - Online Education, e-Commerce, Software Development & Systems Design<br /><br>
<a HREF="http://www.123.net.nz" style="text-decoration:none; color:blue">123 Internet Limited</a> - Managed Web Hosting, Virtualisation, High Availability Systems & Cluster Technologies<br /><br>
<b>Mob:</b> 021 966 992<br /><br>
<b>DDI:</b> +64 7 543 1206<br /><br>
<b>Email:</b> <a href="mailto:gary@benner.co.nz" >gary@benner.co.nz</a><br /><br>
<b>Skype:</b> garybenner<br /><br>
</font><br>
<br>
Ref#: 41006<br>
<br>
</body>
</html>