诀窍让WPF / E插件在Windows 2000中运行 [英] Trick to make WPF/E plugin work in Windows 2000

查看:105
本文介绍了诀窍让WPF / E插件在Windows 2000中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

正如您可能已经知道的那样,官方 WPF / E插件在Windows 2000中不起作用。因为我还有Windows 2000 SP4,我不会改变操作系统(它拥有我需要的一切,我可以做我想做的一切),我找到了一种方法,如何使它工作。

没有理由为什么插件不能在Win 2000中工作。但msi安装程序不允许我安装它。所以,我手动从msi中提取文件(通过一些免费工具)并运行"regsvr32 agctrl.dll"。但是我收到错误"找不到指定的行为"。经过一些调试后,我发现原因在函数"_resetstkoflw"中,我的平台上不存在(我不记得该函数应该位于的标准DLL的名称)。

我想"resetstkoflw"是某种"复位堆栈溢出"。功能,除非出现问题,否则不应使用。在正常情况下,不应发生堆栈溢出。所以我制作了一个技巧,使用了二进制编辑器并更改了"_resetstkoflw"的名称。函数转换为"strcmp" :)

现在,一切正常,没有任何问题。

我只是想问这个插件的开发人员,为什么他们没有删除或替换这个唯一有问题的功能,所以默认情况下,插件可以在Win2000中正常工作吗?


As you may already know, officialy WPF/E plugin doesn't work in Windows 2000. As I still have Windows 2000 SP4, and I will not change the OS (it has everything I need, I can do everything I want), I found a way, how to make it work.

There is no reason why the plugin shouldn't work in Win 2000. But the msi installer doesn't let me install it. So, I manualy extracted the files from msi (by some free utility) and run "regsvr32 agctrl.dll". But I got an error "the specified procudure could not be found". After some debugging I found the reason is in the function "_resetstkoflw", which doesn't exist on my platform (I don't remember the name of the standard DLL in which this function should be located).

I suppose "resetstkoflw" is some kind of a "reset stack overflow" function, which should not be used unless something went wrong. Under normal conditions, stack overflow should not occur. So I made a trick, used binary editor and change the name of the "_resetstkoflw" function into "strcmp" :)

Now, everything works OK, without any problem.

I just want to ask the developers of this plugin, why they didn't remove or replace this only problematic function, so the plugin could normaly work in Win2000 by default?


推荐答案

以前我忘了说,12月这个no-win2000问题存在CTP,现在仍然在Februar CTP。
Previously I forgot to say, that this no-win2000 problem existed in December CTP and now still in Februar CTP.


这篇关于诀窍让WPF / E插件在Windows 2000中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆