Random Post: WordPress
RSS .92| RSS 2.0| ATOM 0.3
  • Home
  • About
  • Eric’s Toolset
  • Free Software
  • Software License
  •  

    .NET Color Struct Equality

    December 16th, 2009

    When is white not white? When one is Color.White and the other is Color.FromArgb(0xff, 0xff, 0xff, 0xff).

    Read the rest of this entry »


    Unicode Surprises

    October 11th, 2007

    I got a defect from QA today saying that our product was unable to trackĀ files in paths containing Unicode characters. I’ll admit that I was skeptical. I had just tried that myself the other day and it worked perfectly. Trying it again today also worked perfectly, but the QA engineer showed me otherwise.

    Read the rest of this entry »


    Finding Unmanaged Memory Leaks

    June 25th, 2007

    At work we had a long-running .NET process whose memory usage seemed to be going up, but not coming down. In investigating, I learned a few things about leak hunting, and ultimately tracked down perhaps the most insidious leak I’ve ever seen.

    Read the rest of this entry »


    ArgumentException Creating an XmlSerializer

    May 26th, 2007

    I ran into a kind of baffling problem. I’ve got some .NET code that is also accessible to Java via JNI. There are unit tests for the .NET code that all pass. To test the Java to .NET connection, I wrote a few JUnit tests which worked fine when run from the IDE, but failed when run from Ant. The failure was ultimately caused by an ArgumentException when creating an XmlSerializer.

    Read the rest of this entry »