__gc[] syntax

Discussion in 'C++' started by MegaCode535, Aug 28, 2010.

  1. MegaCode535

    MegaCode535 New Member

    Joined:
    Aug 28, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    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
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice