[Gc] GC_INIT and initial invocation of a GC routine from a DLL

Achilleas Margaritis axilmar at otenet.gr
Sat Dec 29 09:04:57 PST 2007


The documentation says:

"In some platforms, it is necessary to invoke this from the main 
executable, not from a dynamic library, before the initial invocation of 
a GC routine."

But what if the initial invocation of a GC routine must be in a DLL?

For example, I have the source files for a DLL which I retrofitted to 
use garbage collection; this DLL has some static variables which 
allocate heap blocks.

What do I have to do in this case?



More information about the Gc mailing list