Greg, you're using a newer version than I've been using. I'll try your code on Visual Studio 2005, that I also have.I think its the same as the program you are using (Visual C++, v6.0. )
The program i am using is detailed:
Microsoft Visual Studio 2005
Version 8.0.50727.867 (vsvista.050727-8600)
Microsoft .NET Framework
Version 2.0.50727
Mark