Windows searches for DLLs in this order:
The directory from which the application was invoked
The current directory
The system directory (SYSTEM32)
Directories listed in the PATH environment variable
UNIX searches for the library in the directories listed in the LD_LIBRARY_PATH environment variable (on Solaris), SHLIB_PATH (on HP), or LIBPATH in AIX, in the order in which they are listed.
If XP Server does not find the library for an ESP function in the search path, it attempts to load it from $SYBASE/DLL on Windows or $SYBASE/lib on other platforms.
Absolute path names for the DLL are not supported.