> why then does the Windows code have to set up > these things in the DLL init routine, too? Good question. Is the DllMain just an accidental leftover that could be removed? --tml