
Signature
----
Home: http://www.paullee.com
Woes: http://www.dr_paul_lee.btinternet.co.uk/auto.shtml
> By the way, this is using .NET framework 1.1 - we can't upgrade to 2 yet!
>
[quoted text clipped - 4 lines]
>> operator in crtdbg.h). Does the garbage collector not work in debug build
>> for VC++?
Remember that only __gc objects are garbage collected, and the new operator
can also allocate from the native heap. This is distinguished a lot better
in C++/CLI, but you said you're stuck with .NET 1.1 :(
>> TIA
>>
>> Paul
PL - 14 Nov 2006 22:21 GMT
>> By the way, this is using .NET framework 1.1 - we can't upgrade to 2 yet!
>>
[quoted text clipped - 9 lines]
> can also allocate from the native heap. This is distinguished a lot
> better in C++/CLI, but you said you're stuck with .NET 1.1 :(
Thanks! However, it looks like all objects are declared using __gc, so maybe
the memory leaks are an artefact of compiling in debug mode only?
PL - 20 Nov 2006 19:22 GMT
It looks like all the dynamically allocated objects are decorated
with the gc moniker. I don't like to contemplate this, but does the
CLR/garbage collector not work properly in debug build?
----
Home: http://www.paullee.com
Woes: http://www.dr_paul_lee.btinternet.co.uk/auto.shtml