This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: b19 and cygwin.dll



   Andrew Lipnitsky [ert@cit.org.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@mike.franken.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@graph-tech.ch
            http://www.graph-tech.ch/english/people/map/



-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]