<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Hacking aspSysInfo</title>
	<atom:link href="http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo</link>
	<description>chaos is the score upon which reality is written</description>
	<lastBuildDate>Sat, 09 Jan 2010 01:55:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: x0ver</title>
		<link>http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/comment-page-1#comment-1802</link>
		<dc:creator>x0ver</dc:creator>
		<pubDate>Thu, 16 Nov 2006 15:53:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/#comment-1802</guid>
		<description>Is there anything that needs to be enabled in order to get this working on a new IIS install?</description>
		<content:encoded><![CDATA[<p>Is there anything that needs to be enabled in order to get this working on a new IIS install?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Command Line Warriors</title>
		<link>http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/comment-page-1#comment-1716</link>
		<dc:creator>Command Line Warriors</dc:creator>
		<pubDate>Sat, 04 Nov 2006 13:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/#comment-1716</guid>
		<description>&lt;strong&gt;This Week on the Command Line: Laptop Backups and apt-get for Windows...&lt;/strong&gt;

It has been a while since last time, so lets do this. &#8216;This week on the command line&#8217; is my look at what I have read online in the past seven days. If you have read or written anything cool then leave a comment below and tell me about it.
P...</description>
		<content:encoded><![CDATA[<p><strong>This Week on the Command Line: Laptop Backups and apt-get for Windows&#8230;</strong></p>
<p>It has been a while since last time, so lets do this. &#8216;This week on the command line&#8217; is my look at what I have read online in the past seven days. If you have read or written anything cool then leave a comment below and tell me about it.<br />
P&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jake</title>
		<link>http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/comment-page-1#comment-703</link>
		<dc:creator>jake</dc:creator>
		<pubDate>Tue, 04 Jul 2006 19:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/#comment-703</guid>
		<description>i dont think you need to use the globalmemorystatusex on win95-win98 since they can only address </description>
		<content:encoded><![CDATA[<p>i dont think you need to use the globalmemorystatusex on win95-win98 since they can only address</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hisham</title>
		<link>http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/comment-page-1#comment-628</link>
		<dc:creator>Hisham</dc:creator>
		<pubDate>Thu, 22 Jun 2006 11:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/#comment-628</guid>
		<description>Björn: Nice to hear from you. I&#039;m hesitant to integrate this code into the official project because of how little testing and feedback this code has been through. Furthermore, the new DLL only works on systems that have GlobalMemoryStatusEx available (Windows 2000, XP, 2003, and Vista) but I&#039;ve only tested on XP. Although I think one possible to make it compatible with Win95 to Vista would be to add a check for the presence of GlobalMemoryStatusEx and then running the appropriate code. 

On the networking side I haven&#039;t been as lucky. I think using PDH.DLL is a fairly easy solution to grab data instantaneous data. However, there is no solution I could find for the looping of the network data information. The problem is that both dwInOctets and dwOutOctets under MID_IFROW (iphlpapi.dll) are of type DWORD so they return data as unsigned 32-bit integers. Every time their value goes above 2^32, they loop. It also doesn&#039;t help they are passed to VB data type Long which has a max value of  2^31-1. The only way to make this work is by running a service in the background that polls the data frequently enough to both record data and to increment a counter for each rollover. Then the data could be correctly displayed by running dwInOctets   (loop counter * 2 ^ 32). The sad part is if you run &quot;netstat -e&quot; from the command line in Windows XP and transfer a large file, it too will reset to 0 once crossing the 4gig (2^32) limit.</description>
		<content:encoded><![CDATA[<p>Björn: Nice to hear from you. I&#8217;m hesitant to integrate this code into the official project because of how little testing and feedback this code has been through. Furthermore, the new DLL only works on systems that have GlobalMemoryStatusEx available (Windows 2000, XP, 2003, and Vista) but I&#8217;ve only tested on XP. Although I think one possible to make it compatible with Win95 to Vista would be to add a check for the presence of GlobalMemoryStatusEx and then running the appropriate code. </p>
<p>On the networking side I haven&#8217;t been as lucky. I think using PDH.DLL is a fairly easy solution to grab data instantaneous data. However, there is no solution I could find for the looping of the network data information. The problem is that both dwInOctets and dwOutOctets under MID_IFROW (iphlpapi.dll) are of type DWORD so they return data as unsigned 32-bit integers. Every time their value goes above 2^32, they loop. It also doesn&#8217;t help they are passed to VB data type Long which has a max value of  2^31-1. The only way to make this work is by running a service in the background that polls the data frequently enough to both record data and to increment a counter for each rollover. Then the data could be correctly displayed by running dwInOctets   (loop counter * 2 ^ 32). The sad part is if you run &#8220;netstat -e&#8221; from the command line in Windows XP and transfer a large file, it too will reset to 0 once crossing the 4gig (2^32) limit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Björn Gustafsson</title>
		<link>http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/comment-page-1#comment-623</link>
		<dc:creator>Björn Gustafsson</dc:creator>
		<pubDate>Wed, 21 Jun 2006 08:46:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/#comment-623</guid>
		<description>Good stuff! I wrote a little entry in my blog about it, and well - if you&#039;re interested I&#039;d be more than happy to grant you access to the sourceforge-repository so you can upload the changes you&#039;ve made (i don&#039;t think i have a vb-compiler around anymore for one) :)</description>
		<content:encoded><![CDATA[<p>Good stuff! I wrote a little entry in my blog about it, and well &#8211; if you&#8217;re interested I&#8217;d be more than happy to grant you access to the sourceforge-repository so you can upload the changes you&#8217;ve made (i don&#8217;t think i have a vb-compiler around anymore for one) <img src='http://blog.hishamrana.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blog.towel.nu</title>
		<link>http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/comment-page-1#comment-622</link>
		<dc:creator>blog.towel.nu</dc:creator>
		<pubDate>Wed, 21 Jun 2006 08:42:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.hishamrana.com/2006/06/20/hacking-aspsysinfo/#comment-622</guid>
		<description>&lt;strong&gt;Expressions...&lt;/strong&gt;

Hacking aspSysInfo at Hisham’s Blog Hey would you look at that? Seems like my old code is still alive. This guy tried to contact me on irc the other day, but time-zone differences made me unable to reply before he......</description>
		<content:encoded><![CDATA[<p><strong>Expressions&#8230;</strong></p>
<p>Hacking aspSysInfo at Hisham’s Blog Hey would you look at that? Seems like my old code is still alive. This guy tried to contact me on irc the other day, but time-zone differences made me unable to reply before he&#8230;&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
