Mail Archives: cygwin/1998/02/23/04:09:55
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 -