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

This is a discussion on In Micros. VisStudio 2005 C++ : when I gcnew an object should I then free it somehow? within the Windows Programming forums, part of the Platform Specific Boards category; In Micros. VisStudio 2005 C++: when I gcnew an object should I then free it somehow? I guess the garbage ...

  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

    Please answer this!! I got more than 60 views and no answer!!
    Last edited by mynickmynick; 08-07-2008 at 10:14 AM.

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, 09:01 AM
  2. Replies: 12
    Last Post: 06-24-2005, 05: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, 02:10 AM
  5. SIGABRT upon free()
    By registering in forum C Programming
    Replies: 2
    Last Post: 07-19-2003, 08:52 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21