🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.nt
Article #63

Re: Applications won't run on NT 4.0 (can't find dlls)

#63
From: kwb
Date: Sun, 19 Oct 1997 00:00
36 lines
2542 bytes
"John Ward" <john_ward@cbtsys.com> wrote:

>Hi,
>
>Can any one help me? Visual C++ 4.1 no longer runs on my machine. 
>
>My initial investigations have led me to believe that VC++ isn't able to
>find the required dlls in the WINNT\SYSTEM32 directory. The dlls are there,
>if I copy them into the same directory as the executable it runs fine. 
>
>I've checked the path and environment variables, WINNT\SYSTEM32 is in the
>path, so it's obviously a deeper problem.

The system should search WINNT/System32 either as the dir returned
from GetSystemDirectory or in the PATH variable.  Since the search
order for DLLs is (from MSDN):

1.	The directory from which the application loaded. 
2.	The current directory. 
3.	Windows NT: The 32-bit Windows system directory. Use the
GetSystemDirectory function to get the path of this directory. The
name of this directory is SYSTEM32.
4.	Windows NT: The 16-bit Windows system directory. There is no
Win32 function that obtains the path of this directory, but it is
searched. The name of this directory is SYSTEM.
5.	The Windows directory. Use the GetWindowsDirectory function to
get the path of this directory. 
6.	The directories that are listed in the PATH environment
variable. 
 
I wonder if you might have old version(s) of the DLLs in the current
directory (presumably your user dir).
Kirk W. Benson    kwb@mail.atlnet.com
"There are three types of people in the world: those who can count and those who can't"
"If at first you don't succeed, skydiving's not for you"
Technical Details
Message-ID: <344a7bba.197553307@news.atlnet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bcdae4$8c0c8280$160010ac@CBTSYS1>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb9cd,f09b3051765167b2
X-Google-Attributes: gidfb9cd,public
X-Google-Thread: 106691,f09b3051765167b2
X-Google-Attributes: gid106691,public
X-Google-Thread: f48de,f09b3051765167b2
X-Google-Attributes: gidf48de,public
X-Google-Thread: 105307,f09b3051765167b2
X-Google-Attributes: gid105307,public
X-Google-Thread: 115e93,f09b3051765167b2
X-Google-Attributes: gid115e93,public
X-Google-Thread: fa335,f09b3051765167b2
X-Google-Attributes: gidfa335,public
From: kwb@mail.atlnet.com
Subject: Re: Applications won't run on NT 4.0 (can't find dlls)
Date: 1997/10/19
Message-ID: <344a7bba.197553307@news.atlnet.com>
X-Deja-AN: 281852267
References: <01bcdae4$8c0c8280$160010ac@CBTSYS1>
Organization: Gwinnett Communications Group, Inc.
Newsgroups: comp.os.ms-windows.nt,comp.os.ms-windows.nt.misc,comp.os.ms-windows.nt.setup,comp.os.ms-windows.nt.setup.misc,comp.os.ms-windows.nt.software.compatibility,cz.comp.windows.nt