Running JScript in a CMD File

I do a lot of work from a command shell and this is a little hack that I threw together to avoid having to type out “cscript” every time I wanted to run some specific JScript (aka JavaScript) file. Using some arcane aspects of the two languages, it is possible to embed the JScript code…

4

Opening a Crash Dump File (Automating Crash Dump Analysis Part 1)

So let’s assume for the moment that you have a collection of crash dump files from your team’s application. These files may be generated from your stress tests, betas, etc. But where they come from really isn’t important, what is important is that we want some way to dig into these files and gather information,…

4

Prolific Usage of MiniDumpWriteDump (Automating Crash Dump Analysis Part 0)

As a precursor to a series on programmatically querying crash dump files, I wanted to first talk about the MiniDumpWriteDump function.   You don’t necessarily need to wait for your application to crash in order to generate a memory dump. As soon as you detect something bad happening, you can call MiniDumpWriteDump yourself and generate…

4

Crashed Conference Room (ɯooɹ)

So we have these fancy touch screen displays on the outside of our conference rooms which will tell us when the room is booked (and by whom). They are definitely handy as they help resolve the inevitable conflict when multiple groups arrive at the same time and then fight over who owns the room. They…

3

Your Password is Too Secure

For obvious reasons, Microsoft employees are asked to refrain from bashing other teams or products in their blog posts. But with the dismantling of the Money product line a couple years ago, I feel the statute of limitations has expired and I can share a useful lesson. At one point, I changed the password for…

3

Blog Migration

For more flexibility in my posting options, I’m moving off of blogs.msdn.com. New posts can be found here.

3

Hex Conversion via a Batch File

Occasionally, when something bad happens, an application will return an exception code (which is occasionally an NTSTATUS value). Unfortunately dumping out %ERRORLEVEL% can give you a negative value which makes looking up the error a little harder. Since I was in batch-land, I had the desire to take the value and print it out in…

3

Testing when "the code is the documentation"

Throughout the course of my testing career, I’ve often heard this dreaded statement. Despite the causes behind it, I think that there will always be times when you just won’t get any formal documentation or specification on how a piece of software is supposed to work. Not to mention the equally evil (or perhaps more so)…

3

Zune == 1337 + 1

For all you music fans, we just launched an updated Zune player, which you can either get from Microsoft Update, or directly from the Zune site: http://www.zune.net/en-us/products/zunesoftware/download.htm   And if you haven’t seen it yet, we are offering a new line of custom art etchings just for Valentine’s day, plus a red 80gb Zune; all…

2

Xbox Jobs: Developers in Test

Are you looking for a job that you can actually enjoy? Are you looking to work with a team of brilliant and passionate individuals? Then come and check out Xbox.   There are a handful of SDET jobs currently open on the Xbox 360 system software team (the guys and gals who work on the…

2