我需要使用我的应用程序重新分发 gdiplus.dll
v.1.1,并确保使用这个特定版本。例如。 Windows XP 有系统版本的gdiplus.dll 但不能升级(v.1.0)。但是如果我把我的 gdiplus.dll 放到应用程序文件夹中,系统仍然使用。为什么?如何解决?
If you are redistributing GDI+ to a downlevel platform or a platform that does not ship with that version of GDI+ natively, install Gdiplus.dll in your application directory. This puts it in your address space, but you should use the linker's /BASE option to rebase the Gdiplus.dll to prevent address space conflict.
但我不知道如何 rebase gdiplus.dll 以及为什么,有人可以解释一下吗?
[编辑] 似乎 Microsoft 决定不为 Windows XP 提供 GDI+ 1.1,而只为 Vista 等提供。好身手。谢谢大家
最佳答案
您实际上不需要对其进行 rebase 。如果您不这样做,那么 DLL 将在加载时自动 rebase 。这会对启动速度产生轻微影响,但我猜它甚至不会被检测到。
但是,您似乎无法将 GDI+ 1.1 重新发布到 XP:How do I install GDI+ version 1.1 on Windows XP?
关于windows - 如何重新分配 Gdiplus (GDI+)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4947210/