locked
I can't find the MAPILIB.Dll, anyone can give me? RRS feed

  • Question

  • I have a question here:
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3232704&SiteID=1&mode=1
    I found the MAPILIB.Dll (Version: 1.0.1658.1921) depend on Outlook 10.0.4504.0, I guess the dll is old.
    Could you give me the latest version? My email: lhj0532@sohu.com
    Thanks in advance.
    Thursday, April 24, 2008 7:48 AM

Answers

  •  Klinsman wrote:
    But MAPILIB.Dll (Version: 1.0.1658.1921) can only load the PIAs version 10.*, can't load 11.* or 12.*.
    So I want to find the new MAPILIB that supports Outlook 2003 & 2007.

    then you need to purchase and install the required version of Office/Outlook, in this case, 2003. And anyone to whom you distribute your solution must also have this a licensed version of the application installed.

    Friday, April 25, 2008 8:31 AM

All replies

  •  Klinsman wrote:
    I have a question here:
    http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3232704&SiteID=1&mode=1
    I found the MAPILIB.Dll (Version: 1.0.1658.1921) depend on Outlook 10.0.4504.0, I guess the dll is old.
    Could you give me the latest version? My email: lhj0532@sohu.com
    Thanks in advance.

    I believe doing so would violate the license agreement (EULA). You need to install the correct version of Outlook on the target machine, which should install the correct DLL.

     

    If the problem appears to be with the Outlook installation/configuration, the better place to trouble-shoot might be an Outlook newsgroup (although Sue Mosher does drop by here regularly).

    Thursday, April 24, 2008 8:34 AM
  • Thanks for you reply.
    I found the MAPILIB.DLL must reference to the Microsoft.Office.Interop.Outlook 10.0.4504.0. When I replace Microsoft.Office.Interop.Outlook 11.* with 10.*, our product works, but not completely. Because we use the new function in the version 11.
    There are 2 solutions:
    1) Find the latest MAPILIB.DLL that supports
    Microsoft.Office.Interop.Outlook 11.*.
    2) The 2 dlls can't exist at the same bin. So we need to deploy these 2 versions to the different folders and referenced to the correct dlls.

    I prefer the first one.

    Any other suggestions?
    Thanks.
    Thursday, April 24, 2008 9:02 AM
  • I believe that what you want to do is not supported/legal. More than one version of Outlook cannot be installed/deployed to a single machine - this is explicitly by design. Nor are you allowed to distribute any Office DLLs; these are not "redistributables" - they must be installed as part of a licensed Office application. The only thing you're allowed to redistribute are the PIAs that provide the interface between managed code and the COM dlls.

     

    If you're trying to deploy to a machine that has an older version of Outlook installed, then your Add-in developed for a newer version cannot work on that machine.

    Thursday, April 24, 2008 9:24 AM
  • But MAPILIB.Dll (Version: 1.0.1658.1921) can only load the PIAs version 10.*, can't load 11.* or 12.*.
    So I want to find the new MAPILIB that supports Outlook 2003 & 2007.
    Thursday, April 24, 2008 10:29 AM
  •  Klinsman wrote:
    But MAPILIB.Dll (Version: 1.0.1658.1921) can only load the PIAs version 10.*, can't load 11.* or 12.*.
    So I want to find the new MAPILIB that supports Outlook 2003 & 2007.

    then you need to purchase and install the required version of Office/Outlook, in this case, 2003. And anyone to whom you distribute your solution must also have this a licensed version of the application installed.

    Friday, April 25, 2008 8:31 AM