PRB: Some System DLLs Are Only Seen in the System Directory (193067)



The information in this article applies to:

  • Microsoft Windows 98

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.

Modification Type:MinorLast Reviewed:12/16/2004
Keywords:kbDLL kbprb KB193067