|
发表于 2005-4-15 12:42:41
|
显示全部楼层
<P>lockon网站上找到的。简而言之就是在游戏目录下新建一个lockon.exe.local的文件。我一直这么用,没有问题。——但仅针对sp2系统。</P><P>I think I found the ultimate solution to the campaign/msvcrt.dll/instability problem on windows xp sp2. </P><P>First make sure you have the msvcrt.dll that came with lomac in the lomac folder (this is for those of you who tried replacing it with other versions). Now create an empty file named "lockon.exe.local" without the quotes of course in the same folder where lockon.exe is located (C:\Program Files\Ubisoft\Eagle Dynamics\Lock On). </P><P>When you start lomac you will get a couple of dialog boxes saying "The procedure entry point _resetstkoflw could not be located in the dynamic link library msvcrt.dll", just click ok and continue, go into your campaign and play it. </P><P>The explanation.
What we have here is a classic problem known as DLL HELL. Lomac comes with its own msvcrt.dll but due to the way it loads dlls, it ends up always loading the one in the /system32 folder which is buggy (it loads ntdll.dll which loads other dlls which load the wrong msvcrt.dll). </P><P>The trick to force windows to load the msvcrt.dll in the lomac folder was to create a file with a .local extension, as in lockon.exe.local, which forces windows to load the right dll. </P><P>I just tested the su25 campaign which worked for me and it flew it without errors for the first time ever. I would like to know how it works out for other sp2 users.</P> |
|