Working out the mysteries of DLL linkage.