[Gc] Static GC library for windows

Lothar Scholz scholz at scriptolutions.com
Wed Dec 7 01:21:26 PST 2005


I found the comment that if i link statically to the gc library, then
i must use GC_INIT before any other operation and call GC_CreateThread
instead of the WINAPI function. Thats okay.

But there is also a comment that my program must define GC_WinMain as
the collector needs to do some stuff in the original WinMain. Thats
also okay.

But where is the corresponding "main" function that i can use when
writing a command line program instead of a win app ?

Best regards,
 Lothar Scholz              mailto:scholz at scriptolutions.com

More information about the Gc mailing list