Can anyone explain what is wrong with this code? This is a simplification of a problem I isolated in another class. I am using Microsoft Visual C++ in Visual Studio .NET 2003 but using unmanaged code...