P Polaris Mar 15, 2004 #1 Is there a way to turn off the GC completely? If so, is there a C++ equivelent of "delete" in C#? TIA
Is there a way to turn off the GC completely? If so, is there a C++ equivelent of "delete" in C#? TIA
J Jochen Kalmbach Mar 15, 2004 #2 Polaris said: Is there a way to turn off the GC completely? Click to expand... Yes, use unmanaged C++. -- Greetings Jochen Do you need a memory-leak finder ? http://www.codeproject.com/tools/leakfinder.asp
Polaris said: Is there a way to turn off the GC completely? Click to expand... Yes, use unmanaged C++. -- Greetings Jochen Do you need a memory-leak finder ? http://www.codeproject.com/tools/leakfinder.asp
B Branimir Giurov Mar 15, 2004 #3 You can declare unsafe parts of your code that won't be monitored by the GC. Also when doing this, you need to compile with the option /unsafe. Check out the following address for more info: http://msdn.microsoft.com/library/d.../en-us/csref/html/vcwlkunsafecodetutorial.asp Cheers, Branimir
You can declare unsafe parts of your code that won't be monitored by the GC. Also when doing this, you need to compile with the option /unsafe. Check out the following address for more info: http://msdn.microsoft.com/library/d.../en-us/csref/html/vcwlkunsafecodetutorial.asp Cheers, Branimir