CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: __gc[] syntax

  1. #1
    Join Date
    Aug 2010
    Posts
    7

    Question __gc[] syntax

    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

  2. #2
    Join Date
    Jul 2002
    Posts
    2,543

    Re: __gc[] syntax

    __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?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured