[Gc] Win32: DLLs and thread registration

Christian Gudrian gn at fluidon.dyndns.info
Wed Feb 6 22:51:04 PST 2008


Boehm, Hans wrote:

> Looks like a bug to me.  It may have made sense sometime in the past.

If it was for me I would've made no use of gc.def at all.  I just took 
the old VC projects as a reference.

> I don't maintain gc.def or other stuff inthat directory.  If you want
> to post a corrected version and nobody objects, I'll use it, though.

The correction would be not to use a .def file at all.  The 
__declspec(dllexport) declarations are enough to make the linker create 
an export table for the DLL.

Christian


More information about the Gc mailing list