PRB: Known16dll Key Entry Changes Normal DLL Search Path (149430)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- the operating system: Microsoft Windows 95
- the operating system: Microsoft Windows 98
This article was previously published under Q149430 SYMPTOMSIMPORTANT: This article contains information about modifying the registry. Before you
modify the registry, make sure to back it up and make sure that you understand how to restore
the registry if a problem occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry
A Visual Basic program may not run under Windows 95 or Windows 98 because a
16-bit DLL that has been listed in the registry as a Known16dlls has been
moved from the Windows\System directory.
CAUSE
The Registry has a Known16dlls key entry for a DLL that has previously been
loaded. If there is an entry in this key for a specific DLL then Windows
looks for the DLL file in the Windows\System directory first and then
follows 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.
RESOLUTION
Use RegEdit to find and delete the Known16dlls entry for this DLL. Windows
95 and Windows 98 will now search for the DLL in the normal way. Once
Windows 95 and Windows 98 finds and loads the DLL, a new Known16dlls key
entry is made in the registry.
Modification Type: | Major | Last Reviewed: | 5/7/2003 |
---|
Keywords: | kbDLL kbprb kbRegistry KB149430 |
---|
|