It is *not* a VC++ code. It looks like Managed C++ and/or C++/CLI code. So try to ask in Managed C++ forum