Welcome to MSDN Blogs Sign in | Join | Help

August 2007 - Posts

ICorPublish does not cross the 32/64 bit boundary

I mentioned earlier that ICorDebug does not cross the 32/64 boundary . If you want to debug a 32-bit managed app, you need to use a 32-bit version of the ICorDebug interfaces (or Mdbg). If you want to debug a 64-bit managed app, you need a 64-bit savy
Posted by jmstall | 1 Comments

Tennis ambiguity

My wife and I were playing Tennis. We're both pretty new to it and knew we were supposed to hit the ball back and forth but couldn't remember the finer details of scoring. I thought that it was best of 5 sets. She thought it was best of 3 sets. We learned
Posted by jmstall | 3 Comments
Filed under: ,

What I'm reading now: Showstoppers

I'm reading " ShowStoppers ", by G. Pascal Zachary, which describes the effort to build the first version of NT. I'd recommend it. It was a very impressive accomplishment, and the book describes the magnitude and sacrifice to accomplish such an engineering
Posted by jmstall | 2 Comments
Filed under:

Indirection is funny

In code, unnecessary layers of indirection can be confusing and lead to bug. Do you really need to write code like: ***p = ****q. However, in natural language, technically correct usages of indirection can be funny and sound sophisticated. "We need a
Posted by jmstall | 3 Comments
Filed under:

My first LiveWriter PlugIn is posted to the gallery

My first Windows Live Writer (WLW) PlugIn is now published on the WLW Gallery of Plugins. You can download the MSI from Gallery here . It gets a bible "verse of the day" from an known RSS feed and inserts it as HTML content into the blog post. The source
Posted by jmstall | 2 Comments
Filed under:

Unit tests for a simple OnMoved event handler

Sometimes even the simple stuff can have some interesting unit tests and corner cases. I had a class that's basically a "Thing" with an X,Y position and an OnMoved event. In C# : public class ThingMovedArgs { public ThingMovedArgs( Thing t, Point ptOld,
Posted by jmstall | 1 Comments

Updating my sample for the Silverlight Refresh

You may have heard there was a July'07 refresh of silverlight to the original Mix'07 release. Unfortunately, this refresh breaks the Visual Studio Silverlight templates from Mix, and my first Silverlight example falls victim. Joe Stegman has a great list
Posted by jmstall | 0 Comments
Filed under:

Updating Visual Studio for the Silverlight 1.1 Refresh

You may have heard about the recent Silverlight 1.1 alpha refresh to the original Silverlight alpha released at Mix'07. The Alpha Refresh does break the mix'07 Visual Studio templates, so you need to get an updated tools stack in order to fix the problem.
Posted by jmstall | 1 Comments
Filed under:

Why is there a separate 'debug pack' for Silverlight?

To debug Silverlight apps, you need to download a separate debug pack on top of VS Orcas and the Silverlight runtime. A disadvantage is that this introduces yet another versioning boundary , and another thing to install for silverlight developement. The
Posted by jmstall | 2 Comments

Setting transparency in an image

Just as Jackie Chan does his own stunts; I do my own image drawing. Some of my "art": (The yellow arrow here ). The shapes in my Silverlight 1.1 app : The astute observer probably noticed that all of my work is very primitive and done in MS Paint (yup,
Posted by jmstall | 7 Comments
Filed under: ,

Making "Required properties" less annoying

Be wary of "required" properties that must be explicitly set correctly in order for the object to function (especially if it's not obvious). I recently got burned by this, and it's certainly a frustrating problem to diagnose. In my case, the function
Posted by jmstall | 2 Comments
Filed under:

My first (non-trivial) Windows Live Writer Plugin

So the Live Writer Plugin model is so cool and easy that I had to write a plugin. (and do it with Edit-and-Continue ). The obvious ones were already done (eg, Paste code from VS), so I scratched my head for an idea and I finally got one: a "verse of the
Posted by jmstall | 9 Comments
 
Page view tracker