为Windows创建应用程序兼容性垫片[复制]
题
这个问题已经在这里有一个答案:
-
windows:如何创建自定义appcompat shims(应用程序修复)?
4个答案
这个博客文章提到如何创建你的拥有垫片。
我不明白的是:
当一个新版本的dll出来时(用更多导出的函数),这种技术不会破坏吗?
i.e。如果您完全覆盖用shim dll的目标dll,那么您对您没有/无法/无法/ em>实现重定向的函数?
解决方案
This isn't the only way to do it.
The easiest solution is probably to use Detours, though the free version is 32-bit only and for non-commercial use, and the paid version is seriously expensive.
This article describes a bunch of methods of doing it yourself.
不隶属于 StackOverflow