From: map AT graph-tech DOT ch (Martin Portmann) Subject: Re: b19 and cygwin.dll 23 Feb 1998 04:09:55 -0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain To: "'mh AT mike DOT franken DOT de'" , "'Andrew Lipnitsky'" Cc: gnu-win32 AT cygnus DOT com Andrew Lipnitsky [ert AT cit DOT org DOT by] wrote: > Ok. First of all Windows will carry out search in > c:\windows\system32 (among 1000 files), and > Then in $PATH with 20 directories in it. > mh AT mike DOT franken DOT de wrote: > Yep, exactly. > If you want windows to find a dll really fast, you have to name > it _your.dll and put it in the %SystemRoot%\system32 directory. According to M$ manuals a DLL will be searched in 1. The directory from which the application loaded. 2. The current directory 3. Windows 95: The Windows system directory (c:\windows\system) Windows NT: The 32-bit Windows system directory (c:\winnt\system32) 4. Windows NT: The 16-bit Windows system directory (c:\winnt\system) 5. The Windows directory (C:\winnt) 6. Directories that are listed in the PATH environment variable What we do with our Win32 applications is to ship all necessary dll in the same path as the application. This is the fastest and you never have problems overwritting a client dll or depending on a client configuration. ----------------------------------------------------- Martin Portmann Mobile +41 79 330 60 12 Software Department Phone +41 62 896 42 40 Graph-Tech AG, Switzerland map AT graph-tech DOT ch http://www.graph-tech.ch/english/people/map/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".