Archive for June, 2007

SystemParameters

Friday, June 29th, 2007

It takes time getting used to a new framework like WPF. The other day I was looking for system information similar to what the System.Windows.Forms.SystemInformation static class provided in Windows Forms. It took a little looking, but the equivalent WPF object is the System.Windows.SystemParameters class. It has all the same goodness that you would expect, like ScrollWidth and MenuBarHeight and some new things like IsTabletPC. I should also point out that there are similar classes for fonts and colors called System.Windows.SystemFonts and System.Windows.SystemColors respectively.

(more…)

Clutch

Tuesday, June 19th, 2007

Clutch

Clutch is my new pet programming project (say that five times fast). It’s an IL level .NET debugger, or at least it will be when it’s finished. It’s the result of the research I’ve been doing in IL and why I’m looking for information about writing debugging tools. The screenshot above is really just for kicks. I thought it would be funny to post the first ever screenshot of the program so that when it’s up and running in a year or so I could look back and laugh. It’s very incomplete right now, but can at least start a new process and list the modules and namespaces that are loaded into memory. It’s not much, but doing even something as simple as that is a pretty big learning curve when you’re working with the Unmanaged API.

(more…)

The Slusser Family

Thursday, June 14th, 2007

Well, my wife has followed suit and started blogging. Her blog mainly consist of news about the entire family and I’ve added it to the blogroll if anyone is interested.

I’m going to make an effort to explain each entry in the blog roll as opposed to just arbitrarily placing links there. I sometimes wonder what rhyme or reason a person had for listing a particular link in their blogroll. Sometimes those links are completely off topic from what I expected.

(more…)

Where is the “Tool Developers Guide”?

Tuesday, June 5th, 2007

As I mentioned in a previous post, I’ve been studying IL recently and I’m exploring the idea of writing some .NET reversing tools. In my searching I’ve seen many people reference documents in the Tool Developers Guide found in the SDK (usually at: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Tool Developers Guide”. However, when I browse my local copy of the SDK, I’m greeted with only a single file “Readme.doc” of which this is the entire contents:

The material that previously existed in this location have been added to the SDK documentation, as whitepapers on MSDN or moved to another location in the SDK.

• ECMA Partition documents are located at http://msdn.microsoft.com/net/ecma/default.asp
• asmparse.grammar was moved to ..\include\asmparse.grammar

(more…)