Click to See Complete Forum and Search --> : __gc[] syntax


MegaCode535
August 23rd, 2010, 08:18 AM
I´m just wondering what´s going wrong in the following conversion:

Byte var1[] to array< Byte >^var1
It works.

Byte var2 __nogc [10] to array< Byte >^ var2
It fails.

Cheers

Alex F
August 23rd, 2010, 08:23 AM
__nogc belongs to old Managed C++ syntax. Other code is in new syntax. Maybe you can post your actual code and describe exactly whay is the problem?