创建一个补丁来替换dll [英] Create a patch to replace a dll

查看:125
本文介绍了创建一个补丁来替换dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何创建可以替换我的应用程序dll的补丁

How do we create a patch which can replace a dll of my application

推荐答案

只要所使用的类/函数没有更改签名,您应该可以随需要进行任何更改就可以放入新的DLL.

即,如果您在DLL中具有这样的功能:F(int first, int second),只要您不将其更改为F(int first, int second, int third)(除非它永远不会被调用),就可以了.
As long as the classes/functions being used haven''t changed signatures, you should be able to just drop in a new DLL with whatever changes needed.

i.e. if you have a function like this in the DLL: F(int first, int second) you''re fine as long as you don''t change it to F(int first, int second, int third) (unless it''s never called of course).


这篇关于创建一个补丁来替换dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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