Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. __gc class defining ...

__gc class defining ...

Scheduled Pinned Locked Moved Managed C++/CLI
game-devquestionhtmldatabasecom
3 Posts 2 Posters 9 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hadi Rezaee
    wrote on last edited by
    #1

    Hi there, What is __gc statment before defining classes in manged code ? :confused: It's my first post in managed code form ;) My month article: Game programming by DirectX by Lan Mader. Please visit in: www.geocities.com/hadi_rezaie/index.html Hadi Rezaie

    J 1 Reply Last reply
    0
    • H Hadi Rezaee

      Hi there, What is __gc statment before defining classes in manged code ? :confused: It's my first post in managed code form ;) My month article: Game programming by DirectX by Lan Mader. Please visit in: www.geocities.com/hadi_rezaie/index.html Hadi Rezaie

      J Offline
      J Offline
      James T Johnson
      wrote on last edited by
      #2

      __gc tells the compiler that what follows next is a managed type, ie it will be garbage collected. HTH, James Simplicity Rules!

      H 1 Reply Last reply
      0
      • J James T Johnson

        __gc tells the compiler that what follows next is a managed type, ie it will be garbage collected. HTH, James Simplicity Rules!

        H Offline
        H Offline
        Hadi Rezaee
        wrote on last edited by
        #3

        Thanks for help :) My month article: Game programming by DirectX by Lan Mader. Please visit in: www.geocities.com/hadi_rezaie/index.html Hadi Rezaie

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups