Re: GDI+ Deployment and Windows XP

From: Clarence Klopfstein (cklopfstein_at_gmail.com)
Date: 10/29/04

  • Next message: Clarence Klopfstein: "Has version 1.1 been released?"
    Date: Fri, 29 Oct 2004 14:00:26 -0400
    
    

    1. For NonXP systems install the dll in the app directory.
    2. It should be the same version of GDI+ regardless of OS. The only
    difference in XP is that it is bundled with the OS and there is some kind of
    security check to verify system integrity. That is why you should not
    isntall a new dll. And Windows Exe's have a standard setup to look in
    certain diretories for a dll (it is done automatically). It looks in the
    Windows, System, and App directory and when it finds the dll it uses it.

    -- 
    Thanks,
    Clarence Klopfstein
    PH:  513-528-6660
    Fax: 513-528-3470
    "Robert Coletti" <RobertColetti@discussions.microsoft.com> wrote in message 
    news:1245F610-1F69-4A17-B2B0-6D15BCA08DB6@microsoft.com...
    > Our application needs to support NT6a, 2000, 98, 98 Me, _and_ XP.  So the
    > installation will bring GDI+ and only install it on non-XP machines.  This 
    > is
    > where we need more detailed information.
    >
    > More specifically:
    > 1. Conditional installation - Should the dll will only be installed in the
    > app directory for non-XP machines?
    > 2. Building - How do we build the app (in ms vc++ 6.0) to link to 
    > different
    > versions of gdi+ in different directories?  Do we need to build multiple
    > times?
    >
    > Thanks for your help.
    >
    > Robert
    >
    > "Clarence Klopfstein" wrote:
    >
    >> Windows XP, comes bundled with GDIPlus.dll.  So there is no reason to 
    >> instal
    >> a new one.
    >>
    >> You can use GDI+ in your app on XP.  It is just redundant, and possible
    >> damaging, to install a second gdiplus.dll.
    >>
    >> -- 
    >> Thanks,
    >>
    >> Clarence Klopfstein
    >> PH:  513-528-6660
    >> Fax: 513-528-3470
    >>
    >> "Robert Coletti" <RobertColetti@discussions.microsoft.com> wrote in 
    >> message
    >> news:A3838474-DAAA-4F5F-A2AD-03806C75ED54@microsoft.com...
    >> > Hi, I my organization is looking to deploy GDI+ with our app.  We have
    >> > researched how to do this, but are concerned that based on the 
    >> > licensing
    >> > agreement, GDI+ cannot be deployed with Windows XP and this will
    >> > complicate
    >> > our efforts.  The licensing agreement states as follows:
    >> >
    >> > "For Windows XP use the system-supplied gdiplus.dll.  Do not install a 
    >> > new
    >> > gdiplus.dll over the system-supplied version (it will fail due to 
    >> > Windows
    >> > File Protection). "
    >> >
    >> > The instructions (attached below) do not explain what to do when
    >> > installing
    >> > on Windows XP?  Is there more detailed information available on this?
    >> >
    >> > -------------------------------------
    >> > Instructions from
    >> > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdicpp/GDIPlus/GDIPlus.asp
    >> >
    >> > "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/msdownload/platformsdk/sdkupdate/psdkredist.htm .
    >> >
    >> > 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."
    >> >
    >>
    >>
    >>
    >> 
    

  • Next message: Clarence Klopfstein: "Has version 1.1 been released?"

    Relevant Pages

    • Re: deployment of a .NET DLL
      ... must be installed before you install your application. ... To strongly name the DLL, create a key by running the Visual Studio Command ... Visual Studio help called "Creating and Using Strong-Named Assemblies" ... Answer those GDI+ questions with the GDI+ FAQ ...
      (microsoft.public.dotnet.languages.csharp)
    • Re: GDI+ redistributable
      ... Perhaps your reference to GDI+ has thrown them off the track? ... in turn calls another DLL 'y', where should I install those DLLs?". ...
      (microsoft.public.win32.programmer.gdi)
    • Using GDI+ from a DLL
      ... I have written a Photoshop filter which uses GDI+. ... DLL loaded by Photoshop. ... The docs say not to install it in the windows system directory ...
      (microsoft.public.win32.programmer.gdi)
    • Re: GDI+ redistributable
      ... > Hi Vipin ... > Perhaps your reference to GDI+ has thrown them off the track? ... > in turn calls another DLL 'y', where should I install those DLLs?". ...
      (microsoft.public.win32.programmer.gdi)
    • Re: When were scanf_s functions introduced?
      ... My knowledge of doing complicated MSI setup apps is fairly limited, ... installers, one that is a "full install" (includes everything and will be ... then the amount of space for the CRT ... the CRT dll MSVCR80.dll? ...
      (microsoft.public.platformsdk.security)