none
GdiPlus.dll

Answers

  • Hi _DK,

    Based on my understanding, the values of the properties are below:
    System: False. 
    Register: vsdraDoNotRegister.

    This is because we only need to copy the dll to the application directory while we want to redistribute it. Below is a comment:
    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.
    This is the old article: http://msdn.microsoft.com/en-us/library/ms533798(VS.85).aspx

    You can get more about the properties of the file in msi package from:
    http://msdn.microsoft.com/en-us/library/ddtk4a95.aspx

    Regards,
    Aland Li
    Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
    • Marked as answer by _DK Wednesday, February 03, 2010 8:48 AM
    Tuesday, February 02, 2010 10:39 AM
    Moderator

All replies

  • Hi DK,

    What is GdiPlus.dll? I don't see it on my system; is it part of the Microsoft .NET Framework?

    RobinDotNet


    Click here to visit my ClickOnce blog!
    Microsoft MVP, Client App Dev
    Sunday, January 31, 2010 11:51 PM
    Moderator
  • Hi _DK,

    As far as I know, GdiPlus.dll is the redistributable files for GDI+. You can download it from:
    http://www.microsoft.com/downloads/details.aspx?familyid=6A63AB9C-DF12-4D41-933C-BE590FEAA05A&displaylang=en

    From your description, I think you want to install the dll file and configure some settings related to it at the same time. I can understand the option Register, you need to add or modify some registries about the dll. But I cannot understand what you mean to set System or other options. Could you please explain more?

    To install the dll file, you can create a Setup Project and add the dll file in the File System view. Below is some walkthroughs:
    http://msdn.microsoft.com/en-us/library/19x10e5c(VS.71).aspx
    http://msdn.microsoft.com/en-us/library/ms242499(VS.80).aspx

    To add some registries, you can add some new keys in the Registry view. Below are some related documents:
    http://msdn.microsoft.com/en-us/library/aa209368(office.11).aspx
    http://msdn.microsoft.com/en-us/library/w4dsy50b(VS.71).aspx

    Let me know if this does not help.
    Aland Li
    Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
    Tuesday, February 02, 2010 9:19 AM
    Moderator
  • I can understand the option Register, you need to add or modify some registries about the dll. But I cannot understand what you mean to set System or other options. Could you please explain more?
    System:
    - True or
    - False ?

    Register:
    - vsdrfDoNotRegister or
    - vsdrfCOM or
    - vsdrfCOMRelativePath or
    - vsdrfCOMSelfReg ?

    Tuesday, February 02, 2010 9:39 AM
  • Hi _DK,

    Based on my understanding, the values of the properties are below:
    System: False. 
    Register: vsdraDoNotRegister.

    This is because we only need to copy the dll to the application directory while we want to redistribute it. Below is a comment:
    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.
    This is the old article: http://msdn.microsoft.com/en-us/library/ms533798(VS.85).aspx

    You can get more about the properties of the file in msi package from:
    http://msdn.microsoft.com/en-us/library/ddtk4a95.aspx

    Regards,
    Aland Li
    Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
    • Marked as answer by _DK Wednesday, February 03, 2010 8:48 AM
    Tuesday, February 02, 2010 10:39 AM
    Moderator
  • you should use the linker's /BASE option to rebase the Gdiplus.dll to prevent address space conflict.

    This is another problem - how to rebase the GdiPlus.dll file ? If it is necessary really. 
    It seems, that there are two ways:

    Project - Properties - Linker - Advanced - Base Address: 0x20000000

    OR:

    Project - Properties - Linker - Advanced - Base Address: @DLLs.txt,gdiplus
    DLLs.txt file:
    gdiplus    0x20000000;

    (based on
    http://msdn.microsoft.com/en-us/library/f7f5138s.aspx 
    I have omitted the size, because didn't know how to set it)

    Setting the Base Address Option like above does not ruin an application, but doesn't look like rebasing of this particular .dll file (?)
    Tuesday, February 02, 2010 1:36 PM
  • Hi _DK,

    I am not very familiar with base of the program. I think it is related C++. You can ask such sorts of questions in the C++ forum:
    http://social.msdn.microsoft.com/Forums/en/vclanguage/threads

    Regards,
    Aland Li


    Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
    Wednesday, February 03, 2010 5:15 AM
    Moderator