我有对gdiplus一个扶养的应用程序。我需要的应用程序也可以在Windows 2000上运行。

我想包括GDIPlus应用程序目录,以便Windows 2000的计算机将运行,但是如果机器的Windows XP,Windows Vista中,Windows 7的等,我希望它使用的版本GDIPlus的是船舶,被更新时,与Windows。

不可能?

有帮助吗?

解决方案

http://msdn.microsoft.com/en-us/库/ ms997620.aspx 尝试添加以下到您的清单: -

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
    <assemblyIdentity version="1.0.0.0" processorArchitecture="x86"
         name="Microsoft.Windows.mysampleapp" type="win32" />
    <description>Your app description here</description>
    <dependency>
        <dependentAssembly>
            <assemblyIdentity type="win32" name="Microsoft.Windows.GdiPlus"
                version="1.0.0.0" processorArchitecture="x86"
                publicKeyToken="6595b64144ccf1df" language="*" />
        </dependentAssembly>
    </dependency>
</assembly>

其他提示

会不会是更容易从安装程序做呢?如果你是在Windows 2000上复制Gdiplus安装到应用程序目录,否则跳过它。

GDI +页

  

运行时要求

     

的Gdiplus.dll包含在Windows   XP。有关哪些   操作系统必须使用   一个特定的类或方法,请参见   的更多信息一节   文档类或方法。   GDI +是作为一个可再发行   对于Windows NT 4.0 SP6,Windows 2000中,   Windows 98和Windows Me的。至   下载最新的可再发行,   看到    http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdkredist。 HTM

先打在谷歌 “WIN 2000 gdiplus”。

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top