Axel Heitland <[EMAIL PROTECTED]> writes: > If your application is compiled completely to > managed code you could use a "__gc new char[size]". > > This should give you a garbage collected piece of memory.
Ahh, I see. I looked at using "new char __gc[size]" and that didn't work. I'll try your example and see how it goes. Cheers, Chris. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.