Matt Gerrans: > By the way, just because you compile something with the compiler that comes > with .NET doesn't mean it is managed code. You can produce managed code rather than x86 code by adding the /clr command line option. You may also have to fiddle some other options which are incompatible with /clr. Neil