Have a look at autoload.c in the cygwin sources or the setup.exe sources. It provides a symbol to link to for the linker, but doesn't resolve the .dll until runtime. Rob