Hello!
I get compile error in VS2005 but not in VS2003 for the same project.
Here is the row that the compiler complains about
public __gc class ReasonDialog : public System::Windows::Forms::Form
I read in the documentation that this is the old syntax but I want to use
the new syntax.
So is the new syntax just to remove the two underscore before the gc.
//Tony
SvenC - 28 Jun 2007 08:59 GMT
Hi,
> Hello!
>
[quoted text clipped - 5 lines]
> the new syntax.
> So is the new syntax just to remove the two underscore before the gc.
Please check the MSDN for the syntax differences.
In your case it should be:
public ref class ReasonDialog : public System::Windows::Forms::Form
--
SvenC