Knowledge Base

PRB: Some System DLLs Are Only Seen in the System Directory

Article ID: 193067

Article Last Modified on 2/12/2007


APPLIES TO


This article was previously published under Q193067

SYMPTOMS

Windows 98 only looks in the \Window\System directory for some system DLLs. For example, if MSVCRT.dll or MFC40.dll are installed in an application's directory, but not in the system directory as expected, the application will not see the DLLs even though they exist in the same directory.

CAUSE

Windows 98 defines a registry key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\SessionManager\KnownDLLs

If a .dll name is placed under this registry setting, Windows 98 only looks in the system directory for that file. This enhances performance. If you remove the registry key, Windows 98 will find the DLL in the application directory.

RESOLUTION

Remove the registry key for the DLL if this is a problem.

STATUS

This behavior is by design.

Keywords: kbdll kbprb KB193067