zZn -
There must be some dependency that the DLL has to another DLL that cannot be resolved or DLLMain is returning an error. Use depends.exe to determine any DLL dependencies, and if you have defined a DLLMain, try to step through it to see what might be happening.
Scott Richardson