关于winxp的dll搜索顺序解决方案

关于winxp的dll搜索顺序
当前模块目录下的dll应该是最优先加载的吧


我把msvcrt.dll 复制到exe目录下,为什么他还是加载system32的那个版本?

------解决方案--------------------
一般:

The directory from which the application loaded. 
The current directory. 
Windows 95/98: The Windows system directory. Use the GetSystemDirectory function to get the path of this directory. 
Windows NT/ 2000: The 32-bit Windows system directory. Use the GetSystemDirectory function to get the path of this directory. The name of this directory is SYSTEM32. 

Windows NT/ 2000: The 16-bit Windows system directory. There is no function that obtains the path of this directory, but it is searched. The name of this directory is SYSTEM. 
The Windows directory. Use the GetWindowsDirectory function to get the path of this directory. 
The directories that are listed in the PATH environment variable. 

有些系统的DLL会强制从系统目录下加载(安全缘故)