none
How to distribute application with GDI+ RRS feed

  • 問題

  • I created a MFC application which is using GDI+. How can I prepare the distribution package of my application to take care of GDI+ in end-user PC. Can I include gdiplus.dll into my application package?

    Jack

    2006年11月23日 上午 07:04

解答

  • 法律問題在這:

    Legal Information http://msdn.microsoft.com/library/en-us/gdicpp/GDIPlus/legalinformation.asp

    不過你要的網站上沒說清楚,這邊只有提到一點點,就是我先前寫的:

    http://msdn.microsoft.com/library/en-us/gdicpp/GDIPlus/GDIPlus.asp

    Where Applicable

    GDI+ can be used in all Windows-based applications. GDI+ is new technology that is included in Windows XP and the Windows Server 2003. It is required as a redistributable for applications that run on the Microsoft Windows NT 4.0 SP6, Windows 2000, Windows 98, and Windows Millennium Edition (Windows Me) operating systems.

    Run-time Requirements

    Gdiplus.dll is included with Windows XP. For information about which operating systems are required to use a particular class or method, see the More Information section of the documentation for the class or method. GDI+ is available as a redistributable for Windows NT 4.0 SP6, Windows 2000, Windows 98, and Windows Me. To download the latest redistributable, see http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en.

    Note  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.

     

     

    2006年11月23日 上午 09:17
    版主

所有回覆

  • 早期的 gdi+ 版本彼此間不相容,在 MSDN 網頁上建議放在應用程式目錄下。(包含 Office XP 所採用的 gdi+)

    你若是使用 .Net framework 伴隨的 gdi+ ,請對方裝 .net framework runtime 即可。

    2006年11月23日 上午 07:24
    版主
  • Hi 璉璉,

    Is it legal to include GDI+ dynamic library into application package? Shall we ask end user to install from Microsoft separatly?

    Jack

     璉璉 寫信:

    早期的 gdi+ 版本彼此間不相容,在 MSDN 網頁上建議放在應用程式目錄下。(包含 Office XP 所採用的 gdi+)

    你若是使用 .Net framework 伴隨的 gdi+ ,請對方裝 .net framework runtime 即可。

    2006年11月23日 上午 08:33
  • 你若是直接呼叫 Windows API ,可放在應用程式目錄內,會自動載入。

    不然就是用 LoadLibrary / FreeLibrary 來處理。

    2006年11月23日 上午 08:46
    版主
  • Hi 璉璉,

    I think I made you misunderstand. This is not a technical issue. I just want to know if it is legal to redistribute gdiplus.dll dynamic library to end user from vender? For example, DirectX redistribution installer is ready for vender to bundle into application release package. How about GDI+? Are there any redistribution package for application bundle? OR can we redistribute the dynamic library directly from application package without any legal notice or statement. Thanks.

    Jack

    2006年11月23日 上午 08:56
  • 法律問題在這:

    Legal Information http://msdn.microsoft.com/library/en-us/gdicpp/GDIPlus/legalinformation.asp

    不過你要的網站上沒說清楚,這邊只有提到一點點,就是我先前寫的:

    http://msdn.microsoft.com/library/en-us/gdicpp/GDIPlus/GDIPlus.asp

    Where Applicable

    GDI+ can be used in all Windows-based applications. GDI+ is new technology that is included in Windows XP and the Windows Server 2003. It is required as a redistributable for applications that run on the Microsoft Windows NT 4.0 SP6, Windows 2000, Windows 98, and Windows Millennium Edition (Windows Me) operating systems.

    Run-time Requirements

    Gdiplus.dll is included with Windows XP. For information about which operating systems are required to use a particular class or method, see the More Information section of the documentation for the class or method. GDI+ is available as a redistributable for Windows NT 4.0 SP6, Windows 2000, Windows 98, and Windows Me. To download the latest redistributable, see http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en.

    Note  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.

     

     

    2006年11月23日 上午 09:17
    版主
  • Thanks a lot.
    2006年11月23日 上午 10:04