Thread: In Micros. VisStudio 2005 C++: when I gcnew an object should I then free it somehow?

  1. #1
    Alessio Stella
    Join Date
    May 2008
    Location
    Italy, Bologna
    Posts
    251

    In Micros. VisStudio 2005 C++: when I gcnew an object should I then free it somehow?

    In Micros. VisStudio 2005 C++: when I gcnew an object should I then free it somehow?
    I guess the garbage collector will do that job for me but what if I wanna explicitely free the object when not needed so that there is not much job left for the garbage collector??

    thank you

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Please don't cross post. Plenty of people visit this board so posting in multiple forums is not necessary.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I got my free copy of Visual Studio 2005!
    By Sentral in forum A Brief History of Cprogramming.com
    Replies: 48
    Last Post: 07-13-2006, 08:01 AM
  2. Replies: 12
    Last Post: 06-24-2005, 04:27 PM
  3. Help needed with backtracking
    By sjalesho in forum C Programming
    Replies: 1
    Last Post: 11-09-2003, 06:28 PM
  4. "if you love someone" :D
    By Carlos in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 10-02-2003, 01:10 AM
  5. SIGABRT upon free()
    By registering in forum C Programming
    Replies: 2
    Last Post: 07-19-2003, 07:52 AM