Windows
DLL files can be aliased, it is set in HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Session Manager\\KnownDLLs, we can see the list of aliases with the registry editor .
For example, if there is a piece of data, kernel32 /kernel32.dll This record guarantees that the kernel32.dll version of system32 is always called when the LoadLibrary("kernel32.dll") is called. And it won't be the kernel32.dll in the current directory (if any). How is this done?
LoadLibrary found that the kernel32.dll (without explicitly specifying the path) needs to be loaded in the parameter string, then the DllDirectory item will be found in the registry, and kernel32.dll will be loaded in the specified path.
Note that the key names here are not suffixed with .dll. When the system recognizes whether the dll belongs to KnownDLLs, it can only work on files that need to be loaded with a .dll extension, and then cut off the suffix when matching the key name.
We can also change the registry to achieve the effect of renaming these system DLLs.
<strong>About COM object DLLs stored in local directories</strong>
Registered COM objects, if you are afraid of conflicting with other software, you can use DLL to transfer technology. However, this is not supported in Windows 98.
For example, myapp.exe wants to force the DLL in the current directory to be loaded first. Just create a file named myapp.exe.local. After starting myapp.exe, the DLL will be loaded from the current directory first.
In Windows XP, we may encounter abnormalities such as the taskbar getting bigger or appearing above.
After the Win10 system is installed, it always finds that there is such a problem. Among them, when
WinXp system failed to copy files, and prompted can not copy: can not participate in the directory o
September 9th news, Microsoft released a routine security update this morning and announced the secu
Windows7 View Wireless Network Password Tutorial
Windows XP system dll file corruption repair tutorial
Win10 preview version 10547 user response: Edge browser crash problem is serious
What should I do if the software installed in win10 is not compatible?
Windows system to view the local IP, gateway address 2 methods graphic tutorial
How to set Windows8 third-party browser to default launch
Enough to fight the installation of Win8.1 process appears in the appointment Win10 upgrade tips
How to set the WiFi Chinese name of the wireless router to make it different in Win7 system
Win8.1 CD installation tutorial
Why is my computer not sounding
How to add Network Neighborhood
Using Windows7 password reset disk internal principle
XP Registry Optimization and Drive Optimization
When Win10 opens the software, always pops up the prompt window how to cancel?
How to close Metro application in Win8
Killing the original PC version of the plot of the eighteenth mission Raiders