[Gc] gc on windows

Jack Andrews effbiae at gmail.com
Thu Aug 13 22:12:17 PDT 2009


i just read (http://www.hpl.hp.com/personal/Hans_Boehm/gc/simple_example.html)
'''
On some other platforms it is necessary to call GC_INIT() from the
main program, which is presumed to be part of the main executable, not
a dynamic library. This can never hurt, and is thus generally good
practice.
'''

so my dll shouldn't call GC_INIT()?  can't i have an ini() function
that the main program calls and in the ini() function, i call
GC_INIT()?  the host is C#/.NET and my dll is in c.

ta, jack


More information about the Gc mailing list