Call IMAPIPROP method from c#

  • Thread starter Thread starter lorenzo
  • Start date Start date
L

lorenzo

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
 
lorenzo said:
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.

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.
 
Back
Top