Call IMAPIPROP method from c#

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • lorenzo

    Call IMAPIPROP method from c#

    I'm trying to invoke OpenProperty Method on the mapiobject, member of
    MailItem.
    The problem is that mapiobject is not a com object.
    I can obtain a com interface through the correct GUID but it seems no
    member is accessible.
    The HrGetOneProp function helps to access some property but the
    OpenProperty is necessary.
    I know that it's possible to create a c++ wrapper but i would like to
    use only c# code.
    Thank you

  • bpsmicro

    #2
    Re: Call IMAPIPROP method from c#


    lorenzo Wrote:[color=blue]
    > I'm trying to invoke OpenProperty Method on the mapiobject, member of
    > MailItem.
    > The problem is that mapiobject is not a com object.
    > I can obtain a com interface through the correct GUID but it seems no
    > member is accessible.
    > The HrGetOneProp function helps to access some property but the
    > OpenProperty is necessary.
    > I know that it's possible to create a c++ wrapper but i would like to
    > use only c# code.[/color]

    I am very much interested in knowing this too. If you end up
    discovering the solution elsewhere, please post a response to this so I
    can learn too. :-)

    Brad.


    --
    bpsmicroPosted from http://www.pcreview.co.uk/ newsgroup access

    Comment

    Working...