libgcrypt, libgpg-error shared/dynamic libs under MinGW

terrence at terrence at
Fri Sep 9 19:53:30 CEST 2005


Remember that in Windows there is no concept of a dynamic code library. 
Dll's have an entry point that must be present.  This is the same error as
"missing main" in a program, only for the dll entry point DllMain.  See
this for an explanation:

And this for a detailed description of the callback:

For libgcrypt, this will just be a blank function, so you'll probably just
want to put a block like this somewhere convenient:

#ifdef WIN32
                     DWORD fdwReason,
                     LPVOID lpReserved )

-Terrence Cole

p.s. I'll see what would be involved in supporting the native VC6 compiler
at some point.

More information about the Gcrypt-devel mailing list