Search order for DLLs

Windows searches for DLLs in this order:

  1. The directory from which the application was invoked

  2. The current directory

  3. The system directory (SYSTEM32)

  4. 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.