Locate a DLL

During the development of your application, the software (such as the esql command processor) must be able to access object libraries and import libraries. However, DLLs must be accessible when the application is running. Consequently, Windows™ must be able to locate them on your hard disk.

Search directories for your DLL in the following order:
  1. The directory from which you loaded the application
  2. The Windows environment system directory, SYSTEM
  3. The current directory (where the executable file exists or the working directory that the Program Item Properties value for the icon specifies)
  4. Directories that your PATH environment variable lists

For the most recent information about your particular Windows operating system, see the Dynamic-Link Library Search Order documentation at http://www.microsoft.com.