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:
- The directory from which you loaded the application
- The Windows environment system directory, SYSTEM
- The current directory (where the executable file exists or the working directory that the Program Item Properties value for the icon specifies)
- 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.