Why is Windows reporting that it is unable to locate a DLL?
Windows first searches the set of pre-installed DLLs such as the performance library (KERNEL32.DLL) and the security library (USER32.DLL). It then searches for the DLLs in the following sequence: • The directory where the executable module for the current process is located. • The current directory. • The Windows system directory. The GetSystemDirectory function retrieves the path of this directory. • The Windows directory. The GetWindowsDirectory function retrieves the path of this directory. • The directories listed in the PATH environment variable. Note that the LIBPATH environment variable is not used. mod_fastcgi, by default, clears the environment of FastCGI applications it starts (with the exception of SystemRoot). To pass or set an environment variable to a FastCGI application use the -initial-env argument to FastCgiConfig or FastCgiServer.
Related Questions
- When installing Frame-It from the CD-ROM, Im supposed to copy its DLL file to the Windows system folder (C:WindowsSystem), but I don see the DLL file. Where is it?
- What are the differences between a .NET Assembly, a Windows DLL and a COM Component?
- How to call functions in a Windows DLL library from Ch?