<!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 ">>To : delphi@delphi.org.nz</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>CC : </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>From: Jeremy Coulter, jscoulter@gmail.com</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Content Type: text/html</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Attached: </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>This is a multipart message in MIME format.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>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 ">>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 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>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 ">>reliable.....</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Jeremy</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>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 ">>Behalf Of Jolyon Smith</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Sent: Monday, 14 September 2009 17:48</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>To: 'NZ Borland Developers Group - Delphi List'</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Subject: Re: [DUG] Has Windows finished??</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>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 ">>reliable so I doubt that it even exists.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>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 ">>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 ">>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 ">>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 ">>"finished".</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>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 ">>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 ">>such as the various "Update service" processes that numerous applications</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>install these days.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>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 ">>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 ">>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 ">>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 ">>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 ">>those processes).</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>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 ">>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 ">>waiting for and why?</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>This might help identify an approach to suit your needs.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>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 ">>Behalf Of Jeremy Coulter</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Sent: Monday, 14 September 2009 14:07</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>To: NZ Borland Developers Group - Delphi List</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Subject: [DUG] Has Windows finished??</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">> </span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Hi all.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>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 ">>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 ">>load have finshed loading etc. etc.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>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 ">>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 ">>of a dog etc.</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Anyone got any ideas?</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Jeremy</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">></span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>_______________________________________________</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>NZ Borland Developers Group - Delphi mailing list</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Post: delphi@delphi.org.nz</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>Admin: http://delphi.org.nz/mailman/listinfo/delphi</span></span>
<p>
<span style=
"font-family:MS Sans Serif "><span style=
"color:#008000 ">>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>