PRB: Known16dll Key Entry Changes Normal DLL Search PathLast reviewed: May 22, 1996Article ID: Q149430 |
The information in this article applies to:
SYMPTOMSA Visual Basic program may not run under Windows 95 because a 16-bit DLL that has been listed in the registry as a Known16dll has been moved from the Windows\System directory.
CAUSEThe Registry has a Known16dll key entry for a DLL that has previously been loaded. If there is an entry in this key for a specific DLL then Windows will look for the DLL file in the Windows\System directory first and then follow the normal DLL search path. If this DLL has been moved to another location, the key entry will still be in the registry. This could cause the wrong version of a DLL to be used.
RESOLUTIONUse RegEdit to find and delete the Known16dll entry for this DLL. Windows 95 will now search for the DLL in the normal way. Once Windows 95 finds loads the DLL, a new Known16dll key entry is made in the registry.
MORE INFORMATIONThe registry key Known16dlls is located in the following section of the registry:
\\HKEY_LOCAL_MACHINE System CurrentControlSet Control SessionManagerIf there is an entry in the Known16dll key for a DLL that a Visual Basic program requires , Windows 95 will first look in the Windows\System directory, AND then follow the normal search path below.
Under Win16
|
Additional reference words: 4.00 vb4win vb4all
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |