[Gc] Question about gc and c++

Achilleas Margaritis axilmar at otenet.gr
Mon Dec 24 14:54:36 PST 2007


Does the gc.lib (on Win32) include the c++ part? the operators new and 
delete?

I have a very weird problem: I have made a DLL which is linked with 
gc.lib. This DLL contains a set of classes that have their own garbage 
collected new and delete operators.

But when I am using this DLL in another project, my operator new is not 
invoked, but the global one declared in gc.lib.

Am I doing something wrong or is there an issue with gc.lib? I am 
talking about Visual Studio.



More information about the Gc mailing list