April 2007 Entries

Learnings from Creating a Developer Virtual PC Image

One of the things you can do with Microsoft Virtual PC is create a standard developer workstation image, an image everybody on the team uses to develop a particular project. There are several advantages to this: Environments don't become corrupted because they're trying to do multiple things If you create an image for each release you're maintaining, you reduce the risk of mixing code from multiple releases Only one person has to build the image Everybody's development environment is identical You...

Getting Visual Studio 2005 SP1 to Install on a Virtual PC Image

In Microsoft's drive to prevent themselves from being embarrassed again by some pimply faced teenager in a third world country, Windows verifies that patches haven't been tampered with. Unfortunately, the combination of huge patch and slow virtual machine means that verifying Visual Studio 2005 SP1 can takes hours. Buried at the bottom of Knowledge Base article 925336 are instructions for shutting off the verification. The section starting with "If the previous steps do not resolve the issue" describes...

Debugging Tools for Windows 6.7.5.0

Debugging Tools for Windows 6.7.5.0 has been released and is available at http://www.microsoft.com/wh... Nothing in the release notes stands out as a must have

Message Grouping with IBM XMS for .NET

There is a bug in IBM XMS for .NET that causes grouped messages to be written incorrectly. Grouping needs to take place in both the XMS layer and the MQ layer. In the XMS layer, properties JMSXGroupID, JMSXGroupSeq, and JMS_IBM_Last_Msg_In_Group are stored in the RFH2 header. When XMS hands the message off to the MQ layer, it is supposed to use the RHF2 header properties to set fields in the MQ message descriptor. Specifically, when JMS_IBM_Last_Msg_In_Group is true, the message descriptor MsgFlags...

Forgetting the IConnection.Start Call in IBM XMS for .NET

When using IBM XMS for .NET, if you forget to make the IConnection.Start call, you won’t get an error. Instead, when you try to get messages, you'll get no message, as if the queue was empty. Writing messages works with or without the IConnection.Start call

Google 1, Microsoft 0

As somebody who's building his career around Microsoft, I feel I should do things the "Microsoft" way, which means, among other things, using Microsoft Live Search instead of Google. Unfortunately for Microsoft, this isn't working. I wanted to know how to turn on tracing in IBM's XMS for .NET library (see http://geekswithblogs.net/.... Entering "ibm xms trace" (without the quotes) in Live Search resulted in a collection of useless links that just happen to...

IBM XMS for .NET Gets Tracing Right

I've discovered that the IBM XMS for .NET library has an excellent tracing facility. IBM documents this at http://publib.boulder.ibm.c... Using the standard .NET config file, you can specify: which class or namespace (or everything) to trace what events to trace, such as function entry/exit where you want the trace written to the maximum size of a trace file how many historical trace files you...