2011-01-01, 10:28 PM
See previous post. You're programming in C++/CLI right now instead of plain C++, which I'm guessing was not your intention. C++/CLI adds even more complexity on top of the already-complex C++ language. If you want to write a native-code app, use C++. If you want to write a .NET app, use C#/VB.NET. I don't recommend using C++/CLI for anything other than interfacing with native libraries in a .NET app.

