delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/02/23/04:09:55

From: map AT graph-tech DOT ch (Martin Portmann)
Subject: Re: b19 and cygwin.dll
23 Feb 1998 04:09:55 -0800 :
Message-ID: <FDF94A49B791D011951E0000C07E6DED04A9E8.cygnus.gnu-win32@srv-nt-1.graph-tech.ch>
Mime-Version: 1.0
To: "'mh AT mike DOT franken DOT de'" <mh AT mike DOT franken DOT de>,
"'Andrew Lipnitsky'"
<ert AT cit DOT org DOT by>
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".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019