Hello!
It's manage code.
Is the best or maybe the only way to take each compile error and correct it.
I just wonder if there exist some way to let the vc2005 behave like vs2003
and compile without error.
//Tony
> Hi Tony,
>
[quoted text clipped - 14 lines]
> --
> SvenC
Boris - 28 Jun 2007 10:26 GMT
> Hello!
>
[quoted text clipped - 4 lines]
> vs2003
> and compile without error.
/clr:oldSyntax might help (although I never tried it as I upgraded from
Managed C++ to CLI/C++).
Boris
> [...]
Jochen Kalmbach [MVP] - 28 Jun 2007 10:26 GMT
Hi TonyJ!
> It's manage code.
You have three chances:
1. Set your compiler option to "/clr:oldsynatx"
2. Review your code line-by-line
3. Use the "VC++ 2003 Managed Extensions to VC++2005 C++/CLI Conversion
Tool"
http://www.microsoft.com/downloads/details.aspx?familyid=a3581805-1af2-4c34-9d0e
-6029cc078441&displaylang=en
I would prefer the option 3 ;)
Greetings
Jochen