Subject: Re: b19 and cygwin.dll
From: [email-masked] (Martin Portmann)

23 Feb 1998 04:09:55 -0800
Message-ID: <[email-masked]>
Mime-Version: 1.0
Content-Type: text/plain
To: "[email-masked]'" <[email-masked]>,
        "'Andrew Lipnitsky'"
	 <[email-masked]>
Cc: [email-masked]

   Andrew Lipnitsky [[email-masked]] 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.

   > [email-masked] 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          [email-masked]
            http://www.graph-tech.ch/english/people/map/

-
For help on using this list (especially unsubscribing), send a message to
"[email-masked]" with one line of text: "help".